TinyColor.Conversions protocol (tiny_color v0.3.0)
Summary
Functions
converts a color into the HSL color space
converts a color into the HSV color space
converts a color into the OKLab color space
converts a color into the sRGB color space
Types
@type t() :: term()
All the types that implement this protocol.
Functions
Link to this function
to_hsl(color)
converts a color into the HSL color space
Link to this function
to_hsv(color)
converts a color into the HSV color space
Link to this function
to_oklab(color)
converts a color into the OKLab color space
Link to this function
to_rgb(color)
converts a color into the sRGB color space