from_css_color library

Enums

ColorFormat
Color formats available to construct Color instance from.
CssColorString
Translation options from Color to a string format recognizable according to https://drafts.csswg.org/css-color-3 and forthcoming drafts.

Extensions

ConversionToCssString on Color
Adds toCssString method on instance of Color.

Properties

colorKeywords Map<String, int>
getter/setter pair

Functions

fromCssColor(String color) Color
isCssColor(String color) bool
Check correctness of color string according to https://drafts.csswg.org/css-color-3