HTML Color Picker
In HTML, you can specify color using its RGB value (using either hex or RGB notation), or by its color name.
The HTML color picker below makes it easy to choose colors for your website.
To use the HTML 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).
Color Code Examples
Here are some quick examples of the code needed to apply color to your HTML documents. More about HTML color codes here.
To specify background color:
HTML Color Code Generator
You can also use this color code generator. This generates actual HTML code that you can copy and paste into your own website.
Click on a color name or hex color below to generate the HTML code.