RGB Colors


Exhibit: table of content

Mathematics Maths21a, Summer 2005
Multivariable Calculus
Oliver Knill, SciCtr 434, knill.harvard.edu

RGB Color Codes

Julia Roberts and George Clooney in "Ocean 12". Julia is picky about colors.

A color can be described in different coordinate systems. One is the RGB coordinate system which gives the red, green and blue coordinates of the color vector. Below are some examples of colors in the color cube [0,1] x [0,1] x [0,1]. In the movie clip, the painter is adding some blue to the color, which corresponds to moving "up" a bit in the color cube.


(0,0,0) black
(1,1,1) white
(1/2,1/2,1/2) gray
(1,0,0) red
(0,1,0) green
(0,1,1/2) spring green
(1,1/2,1/2) pink
(0,0,1) blue
(1,1,0) yellow
(1,0,1) magenta
(0,1,1) cyan
(1,1/2,0) orange
(1,1,1/2) khaki
(1/2,1/4,0) brown
Please send comments to maths21a.harvard.edu
Oliver Knill, Maths21a, Multivariable Calculus, Summer 2005, Department of Mathematics, Faculty of Art and Sciences, Harvard University