Home > @csstools/css-color-parser > SyntaxFlag
Signature:
export declare enum SyntaxFlag |
Member |
Value |
Description |
|---|---|---|
|
ColorKeyword |
|
Is a color keyword, e.g. |
|
ColorMix |
|
Is a mixed color, e.g. |
|
ColorMixVariadic |
|
Is a variadic mixed color, e.g. |
|
ContrastColor |
|
Is a contrasting color, e.g. |
|
Experimental |
|
Is an experimental color syntax |
|
HasAlpha |
|
Has an explicit alpha channel |
|
HasDimensionValues |
|
Has a channel with a dimension value, e.g. |
|
HasNoneKeywords |
|
Has a channel with the |
|
HasNumberValues |
|
Has a channel with a number value |
|
HasPercentageAlpha |
|
Has an alpha channel with a percentage value |
|
HasPercentageValues |
|
Has a channel with a percentage value |
|
HasVariableAlpha |
|
Has an alpha channel with a |
|
Hex |
|
Is Hex notation |
|
LegacyHSL |
|
Is legacy HSL, e.g. |
|
LegacyRGB |
|
Is legacy RGB, e.g. |
|
NamedColor |
|
Is a named color, e.g. |
|
RelativeColorSyntax |
|
Is a relative color syntax, e.g. |