W3CSS Theme - US Highway Colors Library

By drupalhero |

Hex or Decimal? Until recently, it was assumed that colors should always be declared in RGB hexadecimal notation. In fact, I still meet designers and developers who are completely unaware that they have alternatives. RGB decimal has been around for quite awhile and will work in any browser you want to throw it at. But which is “better”? I personally find that it’s much easier to envision a color in decimal numbers (which I’ve used all my life) than in hex values. I can look at the value 135, 127, 107 and know it’s a reddish beige much faster than if I see 877f6b.

W3CSS Theme - Border Classes

By drupalhero |

The border property allows you to set a rule (line) around all four sides of your box in any color and thickness using a variety of line styles. Also, using additional border properties, you can independently set the borders on any of the four sides, giving you amazing design versatility. To set the border: 1. To set the border on all four sides, type the border property name in the CSS declaration block, followed by a colon (:) border: 2. Type a border-width value, followed by a space.

W3CSS Theme - Bar - Navigation Classes

By drupalhero |

You can describe color on the screen in a variety of ways, but most of these descriptions are just different ways of telling the computer how much red, green, and blue are in a particular color. Browser-safe Colors? Certain colors always display properly on any monitor. These colors are called browser-safe colors. You’ll find them fairly easy to remember because their values stay consistent. In hexadecimal values, you can use any combination of 00, 33, 66, 99, CC, and FF. In numeric values, use 0, 51, 102, 153, 204, or 255. In percentages, use 0, 20, 40, 60, 80, or 100.