newmana/chroma-elm/13.1.0

NOTE: the latest version is 18.2.1

Chroma.Converter.Out.ToCss

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

Definition

toCss : ExtColor -> String

Returns an ExtColor as a RGB CSS string.

toCssAlpha : ExtColor -> String

Returns an ExtColor as a RGBA CSS string.