Method: Color::CMYK#magenta

Defined in:
lib/color/cmyk.rb

#magentaObject

Returns the magenta (M) component of the CMYK colour as a percentage value.

[View source]

191
192
193
# File 'lib/color/cmyk.rb', line 191

def magenta
  @m * 100.0
end