Method: ColorLib::CMYK#css_rgba

Defined in:
lib/color_lib/cmyk.rb

#css_rgbaObject

Present the colour as an RGBA (with alpha) HTML/CSS colour string (e.g., “rgb(0%, 50%, 100%, 1)”). Note that this will perform a #to_rgb operation using the default conversion formula.



87
88
89
# File 'lib/color_lib/cmyk.rb', line 87

def css_rgba
  to_rgb.css_rgba
end