Named color constants and lookup for TrueColor.
Summary
Functions
Returns the full map of named colors.
Looks up a named color and returns {:ok, {r, g, b}} or {:error, :unknown_color_name}.
Types
Functions
@spec all() :: %{required(color_name()) => {0..255, 0..255, 0..255}}
Returns the full map of named colors.
Looks up a named color and returns {:ok, {r, g, b}} or {:error, :unknown_color_name}.