Thursday, November 27, 2008

RGB color Mode

Based on the tristimulus theory of vision, our eyes perceive color through the stimulation of three visual pigments in the cones of the retina. These visual pigments have peak sensitivity at the wave length of about 630nm (red), 530nm (green) and 450nm (blue). By the comparing intensity in the light source; we perceive the color of the light. This is the base for displaying color output on a video monitor using three color primaries red, green and blue reference to as the RGB color model. The RGB color schema is an additive model i.e. intensities of the primary color are added to produce other colors. Each color points with I the bounds of the cube can be represented as the triple (R, G B) where values for R, G and B are assigned in the range from 0 to 1.shaeds of gray are represented along the main diagonal of the cube from the origin to the white vertex.