export declare function normaliseHex(hex: string): string; export declare function rgbToHex(rgb: string): string; export declare function hslToRgb(h: number, s: number, l: number): { r: number; g: number; b: number; }; export declare function hslToHex(hsl: string): string; export declare function namedColorToHex(name: string): string | null; /** * 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;