TinyColor.Conversions protocol (tiny_color v0.3.0)

Summary

Types

t()

All the types that implement this protocol.

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

converts a color into the HSL color space

converts a color into the HSV color space

Link to this function

to_oklab(color)

converts a color into the OKLab color space

converts a color into the sRGB color space