A color space whose channel names and semantics Sass knows.
- Available extensions
- Annotations
-
- @sealed
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromName(
String name, [String? argumentName]) → ColorSpace -
Given a color space name, returns the known color space with that name or
throws a
SassScriptException
if there is none.
Constants
- a98Rgb → const ColorSpace
- The a98-rgb color space.
- displayP3 → const ColorSpace
- The display-p3 color space.
- hsl → const ColorSpace
- The legacy HSL color space.
- hwb → const ColorSpace
- The legacy HWB color space.
- lab → const ColorSpace
- The CIE Lab color space.
- lch → const ColorSpace
- The CIE LCH color space.
- oklab → const ColorSpace
- The Oklab color space.
- oklch → const ColorSpace
- The Oklch color space.
- prophotoRgb → const ColorSpace
- The prophoto-rgb color space.
- rec2020 → const ColorSpace
- The rec2020 color space.
- rgb → const ColorSpace
- The legacy RGB color space.
- srgb → const ColorSpace
- The sRGB color space.
- srgbLinear → const ColorSpace
- The linear-light sRGB color space.
- xyzD50 → const ColorSpace
- The xyz-d50 color space.
- xyzD65 → const ColorSpace
- The xyz-d65 color space.