newmana/chroma-elm/11.0.1

NOTE: the latest version is 18.2.1

Chroma.Converter.Out.ToHex

Convert ExtColors to hex string (#RGB) or hex string with alpha channel (#RGBA)

Definition

toHex : ExtColor -> String

Takes a result from getColor and returns Integer (0-255) RGB values.

toHexAlpha : ExtColor -> String

Takes a result from getColor and returns Integer (0-255) RGB and alpha values.