Method: Color::CMYK#css_hsla
- Defined in:
- lib/color/cmyk.rb
permalink #css_hsla ⇒ Object
Present the colour as an HSLA (with alpha) HTML/CSS colour string (e.g., “hsla(180, 25%, 35%, 1)”). Note that this will perform a #to_hsl operation using the default conversion formula.
87 88 89 |
# File 'lib/color/cmyk.rb', line 87 def css_hsla to_hsl.css_hsla end |