Packages

Color space conversion

Current section

Files

Jump to
lumi src lumi.erl
Raw

src/lumi.erl

-module(lumi).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export_type([rgb/0, hsl/0, hsv/0, xyz/0, lab/0, lchab/0, luv/0, lchuv/0, hsluv/0]).
-type rgb() :: {rgb, float(), float(), float()}.
-type hsl() :: {hsl, float(), float(), float()}.
-type hsv() :: {hsv, float(), float(), float()}.
-type xyz() :: {xyz, float(), float(), float()}.
-type lab() :: {lab, float(), float(), float()}.
-type lchab() :: {lchab, float(), float(), float()}.
-type luv() :: {luv, float(), float(), float()}.
-type lchuv() :: {lchuv, float(), float(), float()}.
-type hsluv() :: {hsluv, float(), float(), float()}.