HTML Colors – Color Hex Codes and Color Names
Can't remember all 141 HTML color names? Check out our guide for a quick reference to all of the HTML color names, listed in alphabetical order.
For each of the 141 standard colors, both the color name and the corresponding color hex code are provided. The Color Chart is a useful resource for web designers. It helps you select the colors you need to create your website layout.
Each HTML Color Hex Code begins with the character # followed by 6 hex digits. These are the digits 0 to 9, plus the letters A to F.
The Hex Color Code is the best known and most commonly used method to define Color and Background. This color code is based on the RGB color model, in which all colors are created by mixing the three primary colors Red, Green, and Blue. The hex color code is a more compact representation for defining colors than the RGB code.
The hexadecimal system uses 16 numerical symbols. These are the digits 0 to 9 and also the letters A to F (10 to 15).
A useful alternative to hex codes are HSL values, which represent an intuitive method for defining colors. With HSL, it is possible to define the hue, saturation and lightness independently of each other. The hues for HSL values can be roughly predicted by looking at the H value.
- H values between 0 and 30 result in red
- H values between 30 and 60 result in orange
- H values between 60 and 150 result in green
- H values between 150 and 270 result in blue
- H values between 270 and 360 result in Violett
Click the icon to copy a color name or its corresponding hex code to the clipboard. Press Ctrl-V to paste this value into a document of your choice.