Tint v0.1.0 Tint View Source
a library to convert colors between different colorspaces.
Link to this section Summary
Link to this section Types
Link to this type
color()
View Source
color()
View Source
color() :: Tint.HSV.t() | Tint.RGB.t()
color() :: Tint.HSV.t() | Tint.RGB.t()
A type representing a color.
Link to this section Functions
Link to this function
to_hsv(color)
View Source
to_hsv(color)
View Source
to_hsv(color()) :: Tint.HSV.t()
to_hsv(color()) :: Tint.HSV.t()
Converts the given color to HSV colorspace.
Link to this function
to_rgb(color)
View Source
to_rgb(color)
View Source
to_rgb(color()) :: Tint.RGB.t()
to_rgb(color()) :: Tint.RGB.t()
Converts the given color to RGB colorspace.