export type RGBA = [number, number, number, number];
export declare const _nameToColor: {
    aliceblue: string;
    antiquewhite: string;
    aqua: string;
    aquamarine: string;
    azure: string;
    beige: string;
    bisque: string;
    black: string;
    blanchedalmond: string;
    blue: string;
    blueviolet: string;
    brown: string;
    burlywood: string;
    cadetblue: string;
    chartreuse: string;
    chocolate: string;
    coral: string;
    cornflowerblue: string;
    cornsilk: string;
    crimson: string;
    cyan: string;
    darkblue: string;
    darkcyan: string;
    darkgoldenrod: string;
    darkgray: string;
    darkgreen: string;
    darkkhaki: string;
    darkmagenta: string;
    darkolivegreen: string;
    darkorange: string;
    darkorchid: string;
    darkred: string;
    darksalmon: string;
    darkseagreen: string;
    darkslateblue: string;
    darkslategray: string;
    darkturquoise: string;
    darkviolet: string;
    deeppink: string;
    deepskyblue: string;
    dimgray: string;
    dodgerblue: string;
    firebrick: string;
    floralwhite: string;
    forestgreen: string;
    fuchsia: string;
    gainsboro: string;
    ghostwhite: string;
    gold: string;
    goldenrod: string;
    gray: string;
    green: string;
    greenyellow: string;
    honeydew: string;
    hotpink: string;
    'indianred ': string;
    indigo: string;
    ivory: string;
    khaki: string;
    lavender: string;
    lavenderblush: string;
    lawngreen: string;
    lemonchiffon: string;
    lightblue: string;
    lightcoral: string;
    lightcyan: string;
    lightgoldenrodyellow: string;
    lightgrey: string;
    lightgreen: string;
    lightpink: string;
    lightsalmon: string;
    lightseagreen: string;
    lightskyblue: string;
    lightslategray: string;
    lightsteelblue: string;
    lightyellow: string;
    lime: string;
    limegreen: string;
    linen: string;
    magenta: string;
    maroon: string;
    mediumaquamarine: string;
    mediumblue: string;
    mediumorchid: string;
    mediumpurple: string;
    mediumseagreen: string;
    mediumslateblue: string;
    mediumspringgreen: string;
    mediumturquoise: string;
    mediumvioletred: string;
    midnightblue: string;
    mintcream: string;
    mistyrose: string;
    moccasin: string;
    navajowhite: string;
    navy: string;
    oldlace: string;
    olive: string;
    olivedrab: string;
    orange: string;
    orangered: string;
    orchid: string;
    palegoldenrod: string;
    palegreen: string;
    paleturquoise: string;
    palevioletred: string;
    papayawhip: string;
    peachpuff: string;
    peru: string;
    pink: string;
    plum: string;
    powderblue: string;
    purple: string;
    rebeccapurple: string;
    red: string;
    rosybrown: string;
    royalblue: string;
    saddlebrown: string;
    salmon: string;
    sandybrown: string;
    seagreen: string;
    seashell: string;
    sienna: string;
    silver: string;
    skyblue: string;
    slateblue: string;
    slategray: string;
    snow: string;
    springgreen: string;
    steelblue: string;
    tan: string;
    teal: string;
    thistle: string;
    tomato: string;
    turquoise: string;
    violet: string;
    wheat: string;
    white: string;
    whitesmoke: string;
    yellow: string;
    yellowgreen: string;
};
export declare function isColorName(name: string): boolean;
export declare function nameToColor(name: string): string;
export declare function isHex(name: string): boolean;
export declare function isRgbaString(color: string): boolean;
export declare function rgbaStringToHex(color: string): string;
export declare function colorToHex(color: string): string;
export declare function rgbaToHex_(r: number, g: number, b: number, a: number): string;
export declare function rgbaToHex(rgba: RGBA): string;
export declare function hexToRgba(hex: string): RGBA;
export declare function hexToHsv(hex: string): number[];
export declare function hueToHex(h: number): string;
export declare function hslToHex(h: number, s: number, l: number): string;
export declare function hsvToRgba(h: number, s: number, v: number): number[];
export declare function hsvToHex(h: number, s: number, v: number): string;
export declare function padZero(str: string, len?: number): string;
export declare function padF(str: string, len?: number): string;
export declare function pad(char: string, str: string, len?: number): string;
export declare function invertColor(hex: string, bw?: boolean): string;
export declare const randomColorString: () => string;
export declare function randomColorArray(n: number): string[];
export declare function RGBtoHSL(r: number, g: number, b: number): [number, number, number];
export declare function setAlpha(color: string, alpha: number): string;
export declare function lightenColor(color: string, percent: number): string;
export declare function darkenColor(color: string, percent: number): string;
