def hex_color(value):
    r = ((value >> (8 * 2)) & 255) / 255.0
    g = ((value >> (8 * 1)) & 255) / 255.0
    b = ((value >> (8 * 0)) & 255) / 255.0
    return (r, g, b)
Accepts a hexadecimal color `value` in the format ``0xrrggbb`` and
dataset/ETHPy150Open fogleman/pg/pg/util.py/hex_color