Convert Rgb to Lch

Enter values for an Rgb to convert it to Lch, or vice versa.

Note: ColorMine uses the sRgb color space. More information on sRgb vs AdobeRgb.
Rgb
0 to 255
0 to 255
0 to 255
CIE-Lch
0 to 100
0 to 100
0 to 360
Log

Rgb

The Rgb color space consists of all possible colors that can be made by the combination of red, green, and blue light. It's a popular model in photography, television, and computer graphics.

Lch

Lch is similar to it's cousin Cie-L*ab, except that it's been rearranged in the shape of a sphere which makes it useful for applications like high-end photo editing and retouching images. Read more about it here

Looking for the code?

All calculations were doing using the open source ColorMine library.

The code used for the Rgb and Lch conversions can be found on Github:

Conversion Example:

var rgb = new Rgb();
var lch = rgb.To<Lch>();

Color conversions performed using the open source ColorMine library.

Twitter Logo

Cool! Creating famous images from color palettes found in other images: http://t.co/H1OxefkOt0

@colorminedev
7/11/2014 1:43:35 AM

Looking for a specific conversion?