Method: Color::HSL#saturation=
- Defined in:
- lib/color/hsl.rb
permalink #saturation=(ss) ⇒ Object
Sets the percentage of saturation of the colour.
137 138 139 |
# File 'lib/color/hsl.rb', line 137 def saturation=(ss) @s = Color.normalize(ss / 100.0) end |