In addition to RGB modes, we also have HSL for Hue, Saturation and Lightness. Related but slightly different versions are known as: HSB (Hue, Saturation, Brightness), HSI (Hue, Saturation, Intensity), HSV (Hue, Saturation, Value), etc. [See Wikipedia for more details.]
Hue represents what we intuitively think of as colour. Hue values are integers that vary from 0 (red) to 120 (green) to 240 (blue) to 360 (red again) in a rainbow-like fashion.
Saturation represents how "rich" a colour is. Saturation values are expressed in percentages, with 0% being a shade of gray whereas 100% is a "pure" colour.
Lightness represents how light or dark a given colour is. Lightness values are expressed in percentages with 0% being black and 100% being white.
In addition to HSL, one can have HSLA where the A stands for Alpha and represents transparency (as was the case for RGBA) with values ranging from 0 (opaque) to 1 (completely transparent).
[The following table has been adapted from Wikipedia.]
|
|
|
Keep your personal notes here. These notes are stored by your browser on your own computer, and will be available from any page on this site. You can choose to use html syntax for formatting.