Skip to content

format

typescript
Color.Add(rhs)

class: Color

description

Adds the specified color to the current color and returns a new color.

This method calculates the value for each color channel and does not modify the current color object.

parameter

param_nametypedescription
rhsColorThe color to add.

reture

typedescription
ColorA new color object.

code example