Text Color Posted on October 21, 2015 by Text Color The color property is used to set the color of the text. With CSS, a color is most often specified by: a HEX value – like “#ff0000” an RGB value – like “rgb(255,0,0)” a color name – like “red”