com.phloxui
Version:
PhloxUI Ng2+ Framework
16 lines (15 loc) • 858 B
TypeScript
export declare class ColorUtils {
static isHexValue(value: string): boolean;
static hexToRGB(hex: string): string;
static componentToHex(value: any): string;
static rgbToHex(r: number, g: number, b: number): string;
static shadeHexColor(hex: string, percentage: number): string;
static shadeRGBColor(r: number, g: number, b: number, percentage: number): string;
static blendHexColors(color1: string, color2: string, point: number): string;
static hsbToRGB(hueDegree: number, saturation: number, brightness: number): string;
static hsbToHex(hueDegree: number, saturation: number, brightness: number): string;
static rgbToHsl(r: number, g: number, b: number): number[];
static hexToHsl(hex: string): number[];
static rgbToHue(r: number, g: number, b: number): number;
static hexToHue(hex: string): number;
}