My Links
EX0-101 Exam Questions Quality link building cell phones accessories Call of Duty 4 Servers Ventrilo Server Ventrilo Hosting Teamspeak Server Online Conversion Website Builder Laptop Carrying Cases Driver Detective London Ontario Web Design manticore technology blog Personal Trainer Website DesignRandom Articles
-
Intel details power-savings features on Moorestown
Intel has made a number of power-saving... -
Free Must-Have Tools, Bargain-Basement Backup
Have you ever longed for a quick Windows fix?... -
Review: G.I. Joe is Very Poorly Done
"A nightmare." I will... -
More IT in Government News
View more IT in Government news and analysis from... -
FCC examines Verizon's doubling of early termination fees
The FCC is asking Verizon Wireless to explain why...
| CSS Colors, Practices, and Theories |
|
|
|
| Written by Joo Trans | ||||||||||||||||||||||||||||||||||||||||||
| Thursday, 13 August 2009 19:24 | ||||||||||||||||||||||||||||||||||||||||||
|
Humans apply style and design to just about everything. Furthermore, humans associate color with moods and ideals, and these moods and ideals may vary depending on culture and gender. The colors you choose to use with your website should align itself with the sort of audience that you want to attract. First, let’s look at how to apply colors to page elements and then a closer at how colors are associated with moods and ideals across gender and culture. Applying Color to Page Elements with CSSThere are several different methods of assigning colors in CSS. Some of these methods are easier to read and understand while others offer more flexibility (and are used more often). Using Color Names Using RGB Values by Percentage Using RGB with Literal Values Using Hexadecimal Values Hex values use the following format: #RRGGBB, which defines a pair of digits for Red, Green, and Blue. Unlike base 10 (which is how most humans make measurements), hexadecimal is base 16. The values range from 0 to 9, and then A to F (which simply take the place of 10 to 15). Since hexadecimal uses a pair of base 16 numbers to represent a number, 256 (16 x 16) separate values are possible for each color, and 16,777,216 (256 x 256 x 256) combinations. That’s a lot of colors! To make the point clear, #FF0000 is pure red, #00FF00 is pure blue, and #0000FF is pure green. Here’s a tip for hex colors if color values are in pairs. You can use a shorthand format to reduce a value like #44FF22 to #4F2 by using only the first value in each pair. Color Associations Among Cultures and GenderPeople associate colors with different feelings or ideals and these can vary between genders and across cultures. Numerous studies have been done to see which colors are interpreted in what ways. The table below lists common colors and their associations. Common Colors and their Associations
Influences of Color in Gender and Cultures
I hope this has helped you to learn the different ways to style your site with colors in CSS, as well as the impact color choices can have on your audience. |



CSS is often thought of as a way to layout a website or position your page elements. However, CSS is just as useful in controlling the style or design of your site with the use of color. But before I get into the technicalities of it all, let’s use our imaginations for just a moment.