import { Vector3 } from "./Vector3"; export declare class Color { alpha: number; private _buffer; /** * create a color */ constructor(red?: number, green?: number, blue?: number, alpha?: number); /** * get the buffer */ rgbBuffer(): Float32Array; /** * get the buffer */ buffer(): Float32Array; get red(): number; get green(): number; get blue(): number; /** * string style for canvas * @return {string} */ get rgba(): string; /** * create color from hex string */ static fromHex(hexString?: string): Color; static fromInt(colorCode?: number): Color; static fromVec3(color: Vector3): Color; static mix(a: Color, b: Color, factor: number): Color; get code(): string; static isValid(colorString: string): boolean; }