/** * We deliberately don't support alpha here, as things that declare and render * their own colors won't know about the theme and could cause usability issues */ export interface IColor { /** * Red coordinate: 0-255 */ red: number; /** * Blue coordinate: 0-255 */ blue: number; /** * Green coordinate: 0-255 */ green: number; /** * Optional color name; may or may not be used by various controls */ name?: string; } export declare function darken(color: IColor, darkenFactor: number): IColor; export declare function getColorString(color: IColor): string; export declare function isDark(color: IColor): boolean;