View Source Fledex.Color.Conversion.Raw (fledex v0.1.1)

Summary

Types

@type colorint() :: 0..16_777_215
@type hsv() :: {hue :: 0..255, saturation :: 0..255, value :: 0..255}
@type rgb() :: {red :: 0..255, green :: 0..255, blue :: 0..255}

Functions

Link to this function

hsv2rgb(arg, extra_color_correction)

View Source
@spec hsv2rgb(hsv(), any()) :: rgb()
Link to this function

set_colors(section, brightness_floor, rampup_adj_with_floor, rampdown_adj_with_floor)

View Source
@spec set_colors(byte(), byte(), byte(), byte()) :: rgb()