export declare type HexString = string; export declare type RedBit = number; export declare type GreenBit = number; export declare type BlueBit = number; /** * Converts a hex string into an rgb value. This is useful for deteching color * contrast ratios and other stuff. * * @param hex The hex string to convert * @return an object containing the r, g, b values for the color. */ export default function hexToRGB(hex: HexString): [RedBit, GreenBit, BlueBit];