The human eye has two different types of cells that respond to light.
There are three types of cone cells, each with different color sensitivities.
Any color humans see is a mixture of these three
The color of each pixel is a mixture of red, green, and blue, or RGB. The amount of each color is represented by a number from 0 - 255. In hex, each color ranges from 0 - FF.
|Color||Decimal Range||Hex Range|
|Red (R)||0 - 255||0 - FF|
|Green (G)||0 - 255||0 - FF|
|Blue (B)||0 - 255||0 - FF|
Use the make-color function to create any 24-bit color.
;; make-color : number number number -> color
;; example - to create red (make-color 255 0 0)