SPS - Class Notes COLOR Theory
SPS - Class Notes COLOR Theory
Color Name
Red
Orange
Yellow
Cyan
Blue
CLASSICAL COLOR THEORY says that all colors come from adding 3
primary colors (red, green, blue) at different levels of intensity. We can
create MILLIONS of colors by mixing RED, GREEN and BLUE.
THE RGB COLOR SCHEME
The way to make colors in HTML is to use a set of numbers known as the
RGB color scheme.
Our TVs and monitors use 3 different colors of light to make any color
on your screen.
red light
green light
blue light
If you mix all 3 colors together at their highest intensity (255) you get the
color WHITE but if you take all of the colors to zero (0) then you get the
color BLACK.
In this lesson we’ll learn to incorporate the RGB Color Scheme into our
HTML.
Each parameter (red, green, and blue) defines the intensity of the color
between 0 and 255.
Color RGB
rgb(255,0,0) Red
rgb(255,255,0) Yellow
rgb(0,255,0) Green
rgb(0,255,255) Cyan
rgb(0,0,255) Blue
FOR Example:
Instead of using
We would use:
A for 10, B for 11, C for 12, D for 13, E for 14, F for 15.
RGB values are specified using hexadecimal color values in the form:
#RRGGBB, where RR (red), GG (green) and BB (blue) are hexadecimal
values between 00 and FF (same as decimal 0-255).
For example, #FF0000 is displayed as red, because red is set to its highest
value (FF) and the others are set to the lowest value (00).
Color HEX
#FF0000 Red
#FFFF00 Yellow
#00FF00 Green
#00FFFF Cyan
#0000FF Blue
FOR Example:
Instead of using:
We would say:
RGB Shades of gray are often defined using equal values for all the 3
light sources:
Color RGB
rgb(0,0,0)
rgb(128,128,128)
rgb(255,255,255)
Color HEX
#000000
#808080
#FFFFFF
MORE ABOUT SHADES…
Also, if you turn off all the red and all the green and then change the blue to
decreasing n umbers of intensity you will have different shades of blue.
HSL Colors
COMMUNICATING IN COLOR
Color evokes an emotional response.
Red- Assertive, powerful, dangerous
Black- strong, classic, stylish
White- clean, pure, straightforward, innocent
Blue- consoling, serene, quiet
Yellow- warm, cheerful, optimistic
Orange- friendly, vigorous, inviting
COLOR SCHEMES
Monochrome- a single hue, with varying values for saturation /lightness.
Complementary – 2 hues separated by 180* on the color wheel
Triad- 3 hues separated by 120* on the color wheel
Tetrad- 4 hues separated by 90* on the color wheel
Analogic- 2 hues close on the color wheel, one dominant.
Referring to the colors above, locate the RGB Triplet and Hexadecimal code for the
following colors: