Method: Color::CMYK#black
- Defined in:
- lib/color/cmyk.rb
permalink #black ⇒ Object
Returns the black (K) component of the CMYK colour as a percentage value.
231 232 233 |
# File 'lib/color/cmyk.rb', line 231 def black @k * 100.0 end |