import { Color } from "https://deno.land/x/threejs_4_deno@v121/src/math/Color.d.ts";
Represents a color. See also ColorUtils.
Constructors
Methods
Copies given color making conversion from gamma to linear space.
Copies given color making conversion from linear to gamma space.
Copies given color making conversion from linear to sRGB space.
Copies given color making conversion from sRGB to linear space.
Sets this color's red, green and blue value from the provided array.
Sets this color's red, green and blue value from the provided array-like.
Sets this color from a color name. Faster than Color#setStyle | .setStyle() method if you don't need the other CSS-style formats.
Returns an array [red, green, blue], or copies red, green and blue into the provided array.
Copies red, green and blue into the provided array-like.