In the RGB system, each color is defined by the amount of
Red,
Green and
Blue
that compose it.
For convenience, most of the current digital files use integer numbers between 0 (minimum intensity) and 255
(maximum intensity) to specify these quantities.
In this context, every color in the RGB system is identified by an ordered triple (R, G, B) of integers, with
0 ≤ R ≤ 255, 0 ≤ G ≤ 255 and 0 ≤ B ≤ 255.
Thus, we can associate each color of the RGB system with points with integer coordinates in a cube
with edges of length 255.
This model is presented in the applet below.
By changing the values of the sliders “R”, “G” and “B”,
the applet will display the color and the position in the cube corresponding to the triple (R, G, B).
|