Type Alias Color

Color:
    | string
    | [number, number, number, number?]
    | { a?: number; b: number; g: number; r: number }

Represents a color. Can be a CSS string, an RGB(A) array (0-255 for RGB, 0-1 for A), or an object with r, g, b, a properties.

Was this helpful?

GeoSplats SDK
Reference
Color