The most common color space in computer graphics is the system where colors are specified as triples of red, green, and blue values, which is called the RGB system
→ Although this system is computationally convenient, it is a very poor match for the mechanics of how we see.
→ The red, green, and blue axes of the RGB color space are not useful as separable channels
→ They give rise to the integral perception of a color
Another color space, the hue–saturation–lightness or HSL system, is more intuitive and is heavily used by artists and designers
The hue axis captures what we normally think of as pure colors that are not mixed with white or black: red, blue, green, yellow, purple, and so on
The saturation axis is the amount of white mixed with that pure color
The lightness/values axis is the amount of black mixed with a color
<aside> 🎨
Decompose into three channels and map attributes following how we sense
Ordered
→ Luminance and Saturation are magnitude channels ↗️ ****suitable for ordered data, indicating how much of something exists
Categorial
→ Hue is an identity channel ↗️, used for distinguishing different categories or groups (e.g., red vs. blue for different categories).
</aside>
Luminance is effective for ordered data, but it has limitations in distinguishing noncontiguous regions because of contrast effects.
Saturation and hue are not separable channels in small regions, so it’s better to use bright, highly saturated colors for small regions and low-saturation colors (like pastels) for larger areas.
→ For small areas, using only two levels of saturation is recommended.
<aside> 🎨
Summarize
A color map is a function that maps/transforms the values of a scalar value in a color space.
The word palatte is used to define an indexed correspondence of colors.
A categorical colormap uses color to encode categories and groupings.