
HTML Color Codes
HTML Color Codes
• About Hex Colors
• HTML Color Examples
• Color Names
• Coding Colors in HTML
• Background Colors
• Border Colors
• CSS 'color' Property
Use this page to get HTML color codes for your website. The colors are represented by their hexadecimal values (the most common method for the web). On the color picker, you can also see the RGB values (you can use these for the web too).
Example of HTML color code usage: <td style="background-color:#ffcc99">
To learn more about HTML colors and how to apply them to your website, check out the HTML colors section of the HTML tutorial.
Color Picker
- Use the slider on the right to change the hue.
- Click anywhere in the large square to pick a color.
- Once you're happy with the color, copy the hexadecimal value from the bottom field (the series of 6 digits/letters in bold (for example #FFFFFF).
Website Color Schemer is a useful little utility for picking colors and creating schemes for your website. It provides tools for choosing and comparing colors and allows you to preview them before publishing.
Color Names
You can also specify HTML colors by the color name, as well as a decimal code value. Here's a table of the basic color names as recognized in the CSS 2.1 specification.
|
|
|