Convert Hsl to Lab

Enter values for an Hsl to convert it to Lab, or vice versa.

Hsl
0 to 360
0 to 100
0 to 100
CIE-L*ab
0 to 100
-128 to 128
-128 to 128
Log

Hsl

Hsl is a cylindrical-coordinate representation of the Rgb color model. This representation rearranges the colors in an attempt to be more intuitive and perceptually relevant than the typical Rgb representation. It's frequently used for computer graphics applications like color pickers and image analysis.

Lab

Cie-L*ab is defined by lightness and the color-opponent dimensions a and b, which are based on the compressed Xyz color space coordinates. Lab is particularly notable for it's use in delta-e calculations. Read more about it here.

Looking for the code?

All calculations were doing using the open source ColorMine library.

The code used for the Hsl and Lab conversions can be found on Github:

Conversion Example:

var hsl = new Hsl();
var lab = hsl.To<Lab>();

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?