cssNamedColorName
cssNamedColorName(
name):CssColorName|null
Defined in: packages/format-css-color/src/named-colors.ts:341
Given a CSS colour keyword, return the canonical spelling of it, following aliases.
Returns null for a keyword the spec does not define.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”CssColorName | null