monks/color

The color CSS property sets the foreground color value of an element’s text and text decorations, and sets the currentColor value. currentColor may be used as an indirect value on other properties and is the default for other color properties, such as {{cssxref(“border-color”)}}.

For an overview of using color in HTML, see Applying color to HTML elements using CSS.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for color

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for color. It will be wrapped in var() and have -- prepended.

Search Document