Convert Yxy to Hsl

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

Yxy
0 to 100
0 to 1
0 to 1
Hsl
0 to 360
0 to 100
0 to 100
Log

Yxy

The Yxy color space expresses the Xyz color space in a different way, in terms of only x and y coordinates which allows for a 2d representation.

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.

Looking for the code?

All calculations were doing using the open source ColorMine library.

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

Conversion Example:

var yxy = new Yxy();
var hsl = yxy.To<Hsl>();

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?