csscolor property
dynamic
get
csscolor
Follow this method with any standard CSS/SVG/X11 color name (remove spaces from name)
The case/capitalizatiom of the color name is not important.
alias for color - alternate method name to use for to get dynamic for virtual color methods
ie. chalk.csscolor.cornflowerblue('works like this')
(this is the equivalent of chalk.keyword('cornflowerblue')('same things using keyword()'
)
Implementation
dynamic get csscolor => color;