declare type RGB = [number, number, number]; declare type HSL = [number, number, number]; /** * Converts an HSL color value to RGB. Conversion formula * adapted from http://en.wikipedia.org/wiki/HSL_color_space. * Assumes h, s, and l are contained in the set [0, 1] and * returns r, g, and b in the set [0, 255]. * * @param {number} h The hue * @param {number} s The saturation * @param {number} l The lightness * @return {Array} The RGB representation */ export declare function hslToRgb([h, s, l]: HSL): RGB; export declare function rgbToHsl([r, g, b]: RGB): HSL; export declare function luminate(color: string, amount: number): string; export declare function saturate(color: string, amount: number): string; export declare function hexToRgb(hex: string): RGB; export declare function rgbToHex(rgb: RGB): string; export {};