Method: Color::CMYK#magenta
- Defined in:
- lib/color/cmyk.rb
permalink #magenta ⇒ Object
Returns the magenta (M) component of the CMYK colour as a percentage value.
191 192 193 |
# File 'lib/color/cmyk.rb', line 191 def magenta @m * 100.0 end |