This is an introduction to colors, part 1.
Today we will be talking about RGB and Hexidecimal color representation.
The two kind of go hand in hand.
* The R, G,and B stand for the primary colors of light: Red, Green, and Blue.
*RGB are the natural colors a computer has for showing images.
*Red, green, and blue combine in different ways to reproduce all colors.
*A primary use for RGB is for displaying colors on CRT, LCD, or plasma displays (tv, computer, cameras, etc).
Each pixel has a certain value of red, green, and blue. Those values are changed into intensities and that's what we see.
*Color intensities can be set in multiple ways. No intensity is black, full intensity is white.
Intensity values can range from 0~225, 0.0~1.0, or 0~100% per pixel.
Like so:
(225,0,0) Would be pure red.
(1.0,0.0,0.0) Would be pure red.
(100%,0,0) Would be pure red.Now for Hexidecimal Colors
Hexadecimal, meaning 6/16, is the most recognized way to display colors on a web page.
To put colors in a web page:
text=/font color= "#000000" (color is an attribute so it needs no brackets.)
The digits are in 3 sets of 2: 00[red],00[green],00[blue] (no commas in finished product)
0 is the lowest value and F is the highest. The range is this: 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
Different combinations produce different colors. All 0's make black, all f's make white.
So ends lesson 1