stack

Home > @infiniteobjects/data-types > Color > saturate

Color.saturate() method

Saturate the color a given amount.

Signature:

saturate(amount?: number): Color;

Parameters

Parameter Type Description
amount number (Optional) The amount to saturate by. The valid range is 0 to 100. Default value: 10.

Returns:

Color