CSS text color using an HTML tag
<p style='color:#ecc146'>Lorem ipsum consectetur adipiscing.</p>
CSS text, background, border color using a class
.text_color{color:#ecc146;} /*create a class called text_color*/
.bg_color{background-color:#ecc146;}
.border_color{border:2px solid #ecc146;}
.text_color_rgb{color:rgb(236,193,70);}
.bg_opacity{background-color:rgba(236,193,70,0.5);}
<div class='text_color'>Lorem ipsum consectetur adipiscing.</p>
/*How to use the class called text_color or use another class name*/
rgba = red, green, blue, alpha where alpha is a number between 0 (Transparent) and 1 (Opaque)