Method: Color::HSL#saturation=

Defined in:
lib/color/hsl.rb

#saturation=(ss) ⇒ Object

Sets the percentage of saturation of the colour.

[View source]

137
138
139
# File 'lib/color/hsl.rb', line 137

def saturation=(ss)
  @s = Color.normalize(ss / 100.0)
end