in colorSchemeTool.py [0:0]
def rgb256_to_hex(r, g, b): return "{0:02x}{1:02x}{2:02x}".format(r, g, b)