Tint v0.1.0 Tint.RGB.Convertible protocol View Source
A protocol that can be implemented by color structs to support RGB colorspace conversion.
Link to this section Summary
Functions
Converts the specified color to the RGB colorspace.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
to_rgb(color)
View Source
to_rgb(color)
View Source
to_rgb(Tint.color()) :: Tint.RGB.t()
to_rgb(Tint.color()) :: Tint.RGB.t()
Converts the specified color to the RGB colorspace.