V. Color

Color models/spaces

RGB → are not separable in our perception

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

image.png

HSL / HSV → somewhat better for encoding

Another color space, the hue–saturation–lightness or HSL system, is more intuitive and is heavily used by artists and designers

image.png

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

image.png

The saturation axis is the amount of white mixed with that pure color

image.png

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

image.png

</aside>

<aside> 🎨

Summarize

  1. What is Color ?
  2. Color channel interactions
  3. Saturation & Luminance:

Colormap/palette

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.

Categorical colormaps

A categorical colormap uses color to encode categories and groupings.

image.png

Ordered colormaps