def compute_color(w=2000, r=0, g=0, b=0):
    """Return the hex code for the specified colors"""
    color = '35'
    fading = '1101'
    unknow = '0a00'
    white = (int(w) | int(32768)).to_bytes(2, byteorder='little').hex()
    red = (int(r) | int(12288)).to_bytes(2, byteorder='little').hex()
    green = (int(g) | int(8192)).to_bytes(2, byteorder='little').hex()
    blue = (int(b) | int(4096)).to_bytes(2, byteorder='little').hex()
    return color + fading + unknow + white + red + green + blue
