Skip to content

Function: saturate()

ts
function saturate(color, amount): Color;

Defined in: saturate.ts:11

Makes the provided color more saturated by the specified amount.

Parameters

ParameterTypeDescription
colorColorthe color to saturate.
amountnumberthe amount to saturate the color.

Returns

Color

the new saturated color