Method: Color::HSL#saturation
- Defined in:
- lib/color/hsl.rb
permalink #saturation ⇒ Object
Returns the percentage of saturation of the colour.
129 130 131 |
# File 'lib/color/hsl.rb', line 129 def saturation @s * 100.0 end |
Returns the percentage of saturation of the colour.
129 130 131 |
# File 'lib/color/hsl.rb', line 129 def saturation @s * 100.0 end |