UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

7 lines (6 loc) 214 B
/** * Converts CSS color string to a hex value. * @param color - CSS color string (hex, rgb, rgba, hsl, hsla, or named color). */ declare function getHexValue(color: string): string; export default getHexValue;