Method: Color::CMYK#css_rgb

Defined in:
lib/color/cmyk.rb

#css_rgbObject

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

[View source]

66
67
68
# File 'lib/color/cmyk.rb', line 66

def css_rgb
  to_rgb.css_rgb
end