CSS COLOR

The color property sets the color of a text.

Examples


body {
color: rgb(255,255,0)
}


body {
color: #ffffff
}


body {
color: red
}

Possible Values

color: The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000).