FunctionColor

external interface FunctionColor : Color

CSS color function that is not parsed, such as oklch().

The function name and its raw content are kept as-is.

Properties

Link copied to clipboard
abstract var func: String

Function name.

Link copied to clipboard
abstract var type: String

Color type: "rgb", "hsl", "lab", "lch", "function", "transparent", "none" or "current".

Link copied to clipboard
abstract var value: String

Raw function content, without the name and parentheses.