Tint v1.0.0-rc.0 Tint.XYZ View Source
A color in the XYZ (CIE 1931) colorspace.
Link to this section Summary
Functions
Builds a new XYZ color using the lightness, a and b color channels.
Link to this section Types
Link to this section Functions
Link to this function
new(x, y, z)
View Source
new(x, y, z)
View Source
new(
float() | Decimal.decimal(),
float() | Decimal.decimal(),
float() | Decimal.decimal()
) :: t()
new( float() | Decimal.decimal(), float() | Decimal.decimal(), float() | Decimal.decimal() ) :: t()
Builds a new XYZ color using the lightness, a and b color channels.