def METHOD_NAME(col, shift=30, sat=1.0, val=1.0):
    r = (col & (255 << 16)) >> 16
    g = (col & (255 << 8)) >> 8
    b = col & 255
    hsv = colorsys.rgb_to_hsv(r, g, b)
    h = (((hsv[0] * 360) + shift) % 360) / 360
    rgb = colorsys.hsv_to_rgb(h, hsv[1] * sat, hsv[2] * val)
    return (int(rgb[0]) << 16) + (int(rgb[1]) << 8) + int(rgb[2])