Skip to content

format

typescript
Color.Mul(rhs)

class: Color

description

Multiply each color channel of the current color by a specified value and return a new color.

This method does not modify the current color object.

parameter

param_nametypedescription
rhsnumberThe value to multiply by

reture

typedescription
Color

code example