Tint v1.0.0-rc.0 Tint.DIN99 View Source
A color in the DIN99 colorspace.
Link to this section Summary
Functions
Converts a tuple containing lightness, a and b into Tint.DIN99
struct.
Builds a new DIN99 color using the lightness, a and b color channels.
Converts a DIN99 color into a tuple containing the lightness, a and b channels.
Link to this section Types
Link to this section Functions
Link to this function
from_tuple(arg)
View Source
from_tuple(arg)
View Source
from_tuple(
{lightness :: float() | Decimal.decimal(), a :: float() | Decimal.decimal(),
b :: float() | Decimal.decimal()}
) :: t()
from_tuple( {lightness :: float() | Decimal.decimal(), a :: float() | Decimal.decimal(), b :: float() | Decimal.decimal()} ) :: t()
Converts a tuple containing lightness, a and b into Tint.DIN99
struct.
Link to this function
new(lightness, a, b)
View Source
new(lightness, a, b)
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 DIN99 color using the lightness, a and b color channels.
Link to this function
to_tuple(color) View Source
Converts a DIN99 color into a tuple containing the lightness, a and b channels.