Class CMYK¶
import introcs
This class represents a CMYK color value.  CMYK is not an additive color, so it has no
support for tkinter or kivy graphics.
Constructor¶
- 
class introcs.CMYK(c, m, y, k)¶
- Parameters
- c ( - float0.0..100.0) – initial cyan value
- m ( - float0.0..100.0) – initial magenta value
- y ( - float0.0..100.0) – initial yellow value
- k ( - float0.0..100.0) – initial black value
 
 
Attributes¶
- 
CMYK.cyan¶
- The cyan channel. - Invariant: Value must be a float between 0.0 and 100.0, inclusive. 
- 
CMYK.magenta¶
- The magenta channel. - Invariant: Value must be a float between 0.0 and 100.0, inclusive. 
- 
CMYK.yellow¶
- The yellow channel. - Invariant: Value must be a float between 0.0 and 100.0, inclusive. 
- 
CMYK.black¶
- The black channel. - Invariant: Value must be a float between 0.0 and 100.0, inclusive.