CSS – Cascading Style Sheet
In this lecture you will learn how to apply colors using css style
Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.
To use colors style in css, add the style attribute color the relevant element. The style attribute can contain any CSS property.
for instance internal css examples with source code here:
Tomato
Orange
DodgerBlue
MediumSeaGreen
Gray
SlateBlue
Violet
LightGray
CSS Text Color
Hello World
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
in the above shown example applied colors in css to a html tag elements, in this example source code h3 tag is applied on style attribute with parameters are having with their values.
similarly second one p tag of html element is also applied for internal css style of color parameter with color: red value