110 likes | 229 Vues
Hexadecimal Colors. The majority of information for this presentation is from: http://www.htmlgoodies.com/tutors/colorexp.html. Color Refresher. There are 3 primary colors. What are they? Mixing primary colors will yield another color. For example, mixing yellow and blue will make green.
E N D
Hexadecimal Colors The majority of information for this presentation is from: http://www.htmlgoodies.com/tutors/colorexp.html
Color Refresher • There are 3 primary colors. • What are they? • Mixing primary colors will yield another color. For example, mixing yellow and blue will make green. • Name some other non-primary colors and the colors that must be mixed to make them.
Additive Color • Like televisions, computer monitors make color by mixing three basic colors to make other colors. • This process is called “additive color”. • Can you name the three colors that computer monitors use to make other colors? • Answer: Red, Blue, and Green
Why Not Red, Yellow, and Blue? • By starting with one composite color, green, you can still create yellow because yellow is contained in green. • This means that you are actually starting with four colors; red, green, blue, and yellow.
Subtractive Color • Subtractive color is the concept of combining colors to make another, like mixing red and blue to make purple. • Although this process sounds like additive color, colors are actually made by subtracting a hue out of the color scheme by adding more of another. • Mixing black and white will make gray. If you add more white into the mix, the gray will lighten because the ratio of black to white has changed. There is now less black in the mix, making this a subtractive mix.
Example Of Subtractive Color + = = + The end result ratio of black to white has changed. There is now less black in the gray mixture.
Additive vs. Subtractive Color • One way to tell if a color is an additive color or subtractive color is by analyzing the color that you get after you mix your colors. • Remember that black is the absence of color. • A computer works with light (not paint). • Mix a computer’s additive colors together and you get white. • Why?
Hexadecimal Notation • Hex numbers use 16 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F • Zero is the smallest representation of color. F is 15 times the intensity of the color zero. • Can you guess what combination of letters and numbers would make black?
More On Hex Notation • Combinations of the 16 digits create different shades of a color. Double zero “00” is equal to zero hue. “FF” is equal to a pure color. • Color representations are done 3 times, once for red, once for green, and once for blue (in that order). Put three, two-digit codes together and you get a 6-digit hex code.
Hexadecimal Codes Note: The first 2 digits represent the red hue, the second two digits represent the green hue, and the last two digits represent the blue hue. • #FFFFFF→ White • #000000 → Black • #FFFF00 → Yellow • In the last example, notice that the red and the green are at full intensity. There is no blue. By mashing the red and green against each other, the red cancels out the blue (in the green) and all that is left is yellow. The blue has been set to the lowest intensity and is therefore not apparent.
Try Different Combinations • You are now ready to try different combinations of hues. • Your teacher has a handy hexadecimal color chart for your reference.