huex v0.7.0 Huex.Color

Color space conversion utilities

Summary

Types

Tuple containing respectively the red, greend and blue components of a color, each between 0 and 1

Functions

Converts from normalized RGB (each component must be in the 0.0 to 1.0 range) Philips Hue XY colorspace

Types

rgb_color()
rgb_color() :: {float, float, float}

Tuple containing respectively the red, greend and blue components of a color, each between 0 and 1

Functions

rgb(rgb)
rgb(r, g, b)
rgb(float, float, float) :: Huex.xy_color

Converts from normalized RGB (each component must be in the 0.0 to 1.0 range) Philips Hue XY colorspace

rgb_to_hsv(rgb_tuple)
rgb_to_hsv(r, g, b)
rgb_to_xy(rgb_tuple)
rgb_to_xy(r, g, b)