public static EncodingDefinition ToColorDefinition(this IDictionary <int, IColorEncoding> mappings)
        {
            var encodingDefinition = new EncodingDefinition();

            encodingDefinition.AddColorEncodings(mappings);

            return(encodingDefinition);
        }