Prev | Current Page 92 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"

With this information,
it??™s easier to make an informed
guess as to what the color is.
STYLIN??™ WITH CSS - CHAPTER 2 64
by name, or keyword, to use the of?¬? cial term. However, there are
limitations. There is no W3C speci?¬? cation to say exactly how the
browser should render a color like olive or lime; basically, every
browser manufacturer assigns its own (presumably hex) values to
each color keyword. Also, only 16 colors are in the W3C spec, and,
therefore, you can be sure to ?¬? nd only these 16 in every browser.
Here they are, in alphabetical order
aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive,
purple, red, silver, teal, white, yellow
Most modern browsers offer many more colors (usually 140), but if
you want to specify colors by name, you can only absolutely rely on
these 16.
I usually use hex colors because I program, and that??™s how you do it
in the murky world of coding. To save you from struggling to mix up
colors yourself, visit http://www.bookmarkbliss.com/tools/bookmark-
bliss-10-tools-to-help-you-select-a-web-20-color-palette/,
which has fun tools to help you choose color palettes. Also, see the
sidebar ???You Don??™t Have to Limit Yourself to Web-Safe Colors???.
Now that you have a basic understanding of how CSS works, let??™s
next look at how to style text
You Don??™t Have to Limit Yourself to Web-Safe Colors
If you use Adobe Dreamweaver or other Web development tools, you are
used to picking colors from a Web-safe palette.


Pages:
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104