Skip to content

Documentation / @ripl/core / getColorParser

Function: getColorParser() ​

getColorParser(value): ColorParser | undefined

Defined in: packages/core/src/color/index.ts:75

Finds the first color parser whose pattern matches the given color string.

Parameters ​

ParameterType
valuestring

Returns ​

ColorParser | undefined