MaterialColorUtils
Static Class
Static Methods
Converts a color represented in Lab color space into an ARGB integer.
ArgbFromLinrgb(linrgb: double3): int
Converts a color from linear RGB components to ARGB format. Expects linear RGB in the same 0..100 domain as the Dart implementation.
Converts an L* value to an ARGB representation. Returns a grayscale color with matching lightness.
Converts a color from RGB components to ARGB format.
LabFromArgb(argb: int): double3
Converts a color from ARGB representation to L*a*b* representation.
WhitePointD65(): double3
Returns the standard white point; white on a sunny day.
XyzFromArgb(argb: int): double3
Converts a color from ARGB to XYZ.