color

object color extends Style[String]

The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons and its appearance in CSS Level 1.

The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons and its appearance in CSS Level 1.

MDN

class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val aqua: StyleSetter
lazy val black: StyleSetter
lazy val blue: StyleSetter
lazy val fuschia: StyleSetter
lazy val gray: StyleSetter
lazy val green: StyleSetter
lazy val lime: StyleSetter
lazy val maroon: StyleSetter
lazy val olive: StyleSetter
lazy val purple: StyleSetter
lazy val red: StyleSetter
lazy val silver: StyleSetter
lazy val teal: StyleSetter
lazy val white: StyleSetter
lazy val yellow: StyleSetter

Inherited fields

override val name: String
Inherited from
Style