color.Function.isValidColor - GyldendalDigital/kobber GitHub Wiki
@gyldendal/kobber-components / color / isValidColor
isValidColor(
color
):boolean
Defined in: packages/kobber-components/src/utils/color.ts:8
Not supporting hsl or color names like "red"
Parameters
color
string
Returns
boolean