HLS, HSL, HSB and HSV are used to specify numerical Hue, Lightness (or Brightness) and
Saturation in place or as a complement of the standard RGB values.
There are two major problems related to these color spaces:
1. There is no standard defining the way to compute these value. Specially the
Lightness (or Brightness) is usually calculated as L = (R + G + B) / 3, versus a more
realistic implementation (L = xr * R + xg * G + xb * B) that involves hue-dependent
2. The mentioned simple Lightness calculation conflict badly with the properties of
color vision. Also Hue linearity is a problem in this space definition
For the above reasons this site does not directly support these color spaces.
a reference, the standard Windows conversion algorithm is anyway posted on our