Method: Color::HSL#luminosity=

Defined in:
lib/color/hsl.rb

#luminosity=(ll) ⇒ Object Also known as: lightness=

Sets the percentage of luminosity of the colour.

[View source]

155
156
157
# File 'lib/color/hsl.rb', line 155

def luminosity=(ll)
  @l = Color.normalize(ll / 100.0)
end