Method: Color::CMYK#black

Defined in:
lib/color/cmyk.rb

#blackObject

Returns the black (K) component of the CMYK colour as a percentage value.

[View source]

231
232
233
# File 'lib/color/cmyk.rb', line 231

def black
  @k * 100.0
end