CSS color property

Usage

Used to change the color of text

Values

  • [color] - specified as a color name, RGB or Hex code

Example

Code:

p {
  color: blue;
}

h1 {
  color: #330033;
}