def ints_to_rgb(r, g=None, b=None):
if type(r) in [list,tuple]:<EOL><INDENT>r, g, b = r<EOL><DEDENT>return tuple(float(v) / <NUM_LIT> for v in [r, g, b])<EOL>
Convert ints in the [0...255] range to the standard [0...1] range.

    Parameters:
      :r:
        The Red component value [0...255]
      :g:
        The Green component value [0...255]
      :b:
        The Blue component value [0...255]

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

    >>> '(%g, %g, %g)' % ints_to_rgb((255, 128, 0))
    '(1, 0.501961, 0)'