operator * ( scalar )

operator

Multiply all the components of this Color by a scalar value.

Arguments

Name Type Description
scalar Number The scalar value to multiply the components by

Returns

Type Description
Color The new scaled color value