def cmy_to_rgb(c, m=None, y=None):
if type(c) in [list,tuple]:<EOL><INDENT>c, m, y = c<EOL><DEDENT>return (<NUM_LIT:1>-c, <NUM_LIT:1>-m, <NUM_LIT:1>-y)<EOL>
Convert the color from CMY coordinates to RGB.

    Parameters:
      :c:
        The Cyan component value [0...1]
      :m:
        The Magenta component value [0...1]
      :y:
        The Yellow component value [0...1]

    Returns:
      The color as an (r, g, b) tuple in the range:
      r[0...1],
      g[0...1],
      b[0...1]

    >>> cmy_to_rgb(0, 0.5, 1)
    (1, 0.5, 0)