HTML Color Codes – 2023 Browser Supported Hex Codes
Hex codes (also known as color codes) are one of the easiest ways to change the look of elements on your website including backgrounds, text, borders and more.
There is common browser support for many CSS/HTML color codes (listed below) such as text-color:RED. There are also hex code equivalents like text-color:#FF0000. It’s also possible to enter an RGB version such as text-color:rgb(255, 0, 0).
Using hex values seems to be the safest approach. It doesn’t rely upon the long-term acceptance of color naming from browser developers and is much more widely used than RGB. We suggest you stick to hex codes for all future web design.
Below you’ll find the most recent list of commonly accepted color names with their hex and RGB values. If you’re looking for variations of individual colors such as pastels, brand colors, or sports team colors click the “view all” link next to each section.