Open Design Tokens
Preparing search index...
validator
ColorValue
Interface ColorValue
interface
ColorValue
{
alpha
?:
number
;
colorSpace
:
|
"srgb"
|
"srgb-linear"
|
"hsl"
|
"hwb"
|
"lab"
|
"lch"
|
"oklab"
|
"oklch"
|
"display-p3"
|
"a98-rgb"
|
"prophoto-rgb"
|
"rec2020"
|
"xyz-d65"
|
"xyz-d50"
;
components
:
[
ColorComponent
,
ColorComponent
,
ColorComponent
]
;
hex
?:
string
;
}
Index
Properties
alpha?
color
Space
components
hex?
Properties
Optional
alpha
alpha
?:
number
color
Space
colorSpace
:
|
"srgb"
|
"srgb-linear"
|
"hsl"
|
"hwb"
|
"lab"
|
"lch"
|
"oklab"
|
"oklch"
|
"display-p3"
|
"a98-rgb"
|
"prophoto-rgb"
|
"rec2020"
|
"xyz-d65"
|
"xyz-d50"
components
components
:
[
ColorComponent
,
ColorComponent
,
ColorComponent
]
Optional
hex
hex
?:
string
Fallback sRGB hex (
#rrggbb
).
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
alpha
color
Space
components
hex
Open Design Tokens
Loading...
Fallback sRGB hex (
#rrggbb).