API reference: @salmonui/inputs/color-picker
parseColorfunction
import { parseColor } from '@salmonui/inputs/color-picker';function parseColor(value: string): Color;
Parses #rgb, #rgba, #rrggbb, #rrggbbaa, rgb() / rgba() and
hsl() / hsla() (comma or space syntax, percentages, deg) and
transparent. Throws a TypeError for anything else; use the
result's toString(format) to convert.