Skip to content

color( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

color() : number[];

The current color value of the material, in the following form:

[r, g, b, a]

Default value: [1, 1, 1, 1]