Method: Color::CMYK#css_hsl
- Defined in:
- lib/color/cmyk.rb
permalink #css_hsl ⇒ Object
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 using the default conversion formula.
80 81 82 |
# File 'lib/color/cmyk.rb', line 80 def css_hsl to_hsl.css_hsl end |