Color.css constructor

Color.css(
  1. String color
)

Creates a new color from a CSS color string. For more information, see developer.mozilla.org/en/CSS/color.

Implementation

Color.css(String color) : _argb = Color._convertCssToArgb(color)!;