Method: Color::HSL#saturation

Defined in:
lib/color/hsl.rb

#saturationObject

Returns the percentage of saturation of the colour.

[View source]

129
130
131
# File 'lib/color/hsl.rb', line 129

def saturation
  @s * 100.0
end