View Source Tint.XYZ (Tint v1.3.0)

A color in the XYZ (CIE 1931) colorspace.

Summary

Functions

Builds a new XYZ color using the lightness, a and b color channels.

Types

@type t() :: %Tint.XYZ{x: float(), y: float(), z: float()}

Functions

Link to this function

new(x, y, z)

View Source (since 1.0.0)
@spec new(number() | String.t(), number() | String.t(), number() | String.t()) :: t()

Builds a new XYZ color using the lightness, a and b color channels.