These docs are for v1.0. Click to read the latest docs for v1.3.

HSVSATURATION

Syntax

=HSVSATURATION(color)

Arguments

ArgumentTypeDescription
colorColorThe color

Examples

=HSVSATURATION("#bf4040")0.66492146559685864
Gets the saturation for the color represented by the hex color code #bf4040 (dark red)

=HSVSATURATION(RGB(0, 255, 0))1
Gets the saturation for a color having an RGB value of green

=HSVSATURATION(0)#ERROR!
Attempts to get the saturation from an integer, which is invalid because it cannot be converted to a color