Posts Tagged ‘HTML’
HTML Color codes neednt be difficult to understand. In HTML colors are normally referred to in one of two ways - either by name e.g. “White” or by a hexadecimal code eg “#FFFFFF”.
What are Hex Codes?
Hex codes are made up of 3 pairs of alphanumeric characters - these three pairs represent the combination of Red Green Blue used to produce the color.
Colors can be used to great effect with CSS and there are a variety of style attributes that can be used. For example
* Background-color - used by CSS to set a background color of a div
* Color - used to specific the color of text used within a div
Safe HTML colors
In the past where colors displayed by browsers was more of an issue a list of 216 Web Safe Colors was produced as a Web standard. This list included a wide ranging pallette (which can be see at http://www.w3schools.com/html/html_colors.asp). These days this is less of an issue and sites such as http://www.december.com/html/spec/color.html show pallettes of over 1000 colors (as ever thought ensure that you test your pages with different browsers to ensure your site looks as good as you hope!)
With website design one of the most troublesome parts is coming up with a color pallette that looks good
For those wanting a helping hand check out www.colorschemer.com which offers great help in choosing pallettes with some great examples and a lively forum to boot.