Method: Color::GrayScale#css_hsl

Defined in:
lib/color/grayscale.rb

#css_hslObject

Present the colour as an HSL HTML/CSS colour string (e.g., “hsl(180, 25%, 35%)”). Note that this will perform a #to_hsl operation.



77
78
79
# File 'lib/color/grayscale.rb', line 77

def css_hsl
  to_hsl.css_hsl
end