Next / Previous / Contents / TCC Help System / NM Tech homepage

10. class CMYModel: Cyan-magenta-yellow color model

This class implements the CMY color model. It is a concrete class that inherits from the ColorModel abstract class.

There is little more logic here than in the RGBModel class, since each parameter is the complement of one of the RGB parameters used internally by the Color class.

huey
# - - - - -   c l a s s   C M Y M o d e l

class CMYModel(ColorModel):
    """Represents the cyan-yellow-magenta color model.
    """