type RGBA = { r: number; g: number; b: number; a: number; }; export declare class Color { r: number; g: number; b: number; a: number; /** * Private constructor: Use static factory methods to create colors. * Assumes r, g, b, a are already normalized (0.0 - 1.0). */ private constructor(); /** * Creates a Color from standard 0-255 range components. */ static fromRgba255(r: number, g: number, b: number, a?: number): Color; /** * Creates a Color from an integer hex value (e.g., 0xaa00ff). */ static fromHex(rgb: number): Color; /** * Creates a Color from a hex string (e.g., '#aaaaaa' or '0xaaaaaa'). * Supports 3-digit, 6-digit, 8-digit hex. */ static fromHexString(hex: string): Color | null; static white: Color; static black: Color; static red: Color; /** * Linearly interpolates between two colors. */ static lerp(a: Color, b: Color, t: number): Color; /** * Returns the color as a 24-bit integer (0xRRGGBB). */ get rgb24(): number; /** * Returns the color as an array of normalized components [r, g, b, a] (0.0 to 1.0). */ get rgbaNormalized(): RGBA; /** * Returns the color as an array of 0-255 components [r, g, b, a]. */ get rgba255(): RGBA; } export {}; //# sourceMappingURL=color.d.ts.map