Method: Color::CMYK#css_hsl

Defined in:
lib/color/cmyk.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 using the default conversion formula.

[View source]

80
81
82
# File 'lib/color/cmyk.rb', line 80

def css_hsl
  to_hsl.css_hsl
end