Convert Xyz to Lab

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

Xyz
0 to 1
0 to 1
0 to 1
CIE-L*ab
0 to 100
-128 to 128
-128 to 128
Log

Xyz

Xyz is an additive color space based on how the eye intereprets stimulus from light. Unlike other additive rgb like Rgb, Xyz is a purely mathmatical space and the primary components are "imaginary", meaning you can't create the represented color in the physical by shining any sort of lights representing x, y, and z. It's complicated to explain in a nutshell, so read more about it here:

.

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 Xyz and Lab conversions can be found on Github:

Conversion Example:

var xyz = new Xyz();
var lab = xyz.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?