newmana / chroma-elm / Chroma.Converter.Out.ToCss

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

Definition

toCss : Chroma.Types.ExtColor -> String

Returns an ExtColor as a RGB CSS string.

toCssAlpha : Chroma.Types.ExtColor -> String

Returns an ExtColor as a RGBA CSS string.