Method: Color::HSL#brightness
- Defined in:
- lib/color/hsl.rb
permalink #brightness ⇒ Object
Returns the luminosity (#l) of the colour.
98 99 100 |
# File 'lib/color/hsl.rb', line 98 def brightness @l end |
Returns the luminosity (#l) of the colour.
98 99 100 |
# File 'lib/color/hsl.rb', line 98 def brightness @l end |