color

Text color property

Sets the color of the text displayed on elements.

FieldValue
CascadesYes
Initial valueblack

Values

Accepts any expression or value that resolves to a color value.
See SCSS / Colors for more info

Examples

p {
  color: red;
}
p {
  color: #f00;
}
p {
  color: #ff0000;
}
p {
  color: #ff0000ff;
}
p {
  color: rgb(255, 0, 0);
}
p {
  color: hsl(0, 100%, 50%);
}