- Colors are often specified as three- or four-component vectors
- three-components represent RGB values (red, green, and blue)
- four-components, RGBA, add the alpha channel
- alpha is a measure of translucency
- Color values are in the range \([0,1]\)
- we saw that when setting the clear color
- all computations are done in floating point
- although you can specify them in other numeric representations
- WebGL will convert them to floating-point internally
- We can specify colors in the vertex shader
- and send them in the fragment shader to shade our graphics
primitive