Skip to content

Documentation / base / parseColor

Function: parseColor()

parseColor(input): ColorRGBA

Defined in: libs/base/src/utils.ts:678

parse a css color value to RGBA color type.

Parameters

input

string

The css color value.

Returns

ColorRGBA

The RGBA color value.

Released under the MIT License.