
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. We suggest you stick to hex codes for all future web design.īelow you’ll find the most recent list of commonly accepted color names with their hex and RGB values. Prerequisites: Basic computer literacy, HTML. Here well go through all the basic fundamentals of text/font styling in detail, including setting font weight, family and style, font shorthand, text alignment and other effects, and line and letter spacing. It doesn’t rely upon the long-term acceptance of color naming from browser developers and is much more widely used than RGB. In this article well start you on your journey towards mastering text styling with CSS.

Using hex values seems to be the safest approach. It’s also possible to enter an RGB version such as text-color:rgb(255, 0, 0).

There are also hex code equivalents like text-color:#FF0000. There is common browser support for many CSS/HTML color codes (listed below) such as text-color:RED. 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.
