Math behind colorspace conversions, RGB-HSL:
In this article I will try to explain the math behind converting RGB values to HSL and back.
RGB is a way to describe a color in a cube, where Red, Green and Blue are on the different axis.
HSL is another way to describe a color. Here we use Hue (the angle on the color wheel), Saturation (the amount of color/chroma) and Lightness (how bright the color is).
More...
In this article I will try to explain the math behind converting RGB values to HSL and back.
RGB is a way to describe a color in a cube, where Red, Green and Blue are on the different axis.
HSL is another way to describe a color. Here we use Hue (the angle on the color wheel), Saturation (the amount of color/chroma) and Lightness (how bright the color is).
More...
No comments:
Post a Comment