Skip to content

Function: getSaturation()

ts
function getSaturation(color): number;

Defined in: getSaturation.ts:9

Get the saturation value for a color.

Parameters

ParameterTypeDescription
colorColorthe color to get the value from

Returns

number

the saturation value