Method: Color::CMYK#magenta=

Defined in:
lib/color/cmyk.rb

#magenta=(mm) ⇒ Object

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

[View source]

200
201
202
# File 'lib/color/cmyk.rb', line 200

def magenta=(mm)
  @m = Color.normalize(mm / 100.0)
end