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:
|
![]() ![]() ![]() |
Here are some quick examples of the code needed to apply color to your HTML documents. More about HTML color codes here.
To specify text color:
To specify background color:
To specify border color:
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.