def choose_colour(wtr: int) -> int:
    """
    Choose a colour to represent the wtr
    :param wtr: the wtr
    :return: a hex integer of the colour
    """
    if not wtr or wtr < 300:
        return 0x930D0D
    elif wtr < 700:
        return 0xCD3333
    elif wtr < 900:
        return 0xCC7A00
    elif wtr < 1000:
        return 0xCCB800
    elif wtr < 1100:
        return 0x4D7326
    elif wtr < 1200:
        return 0x4099BF
    elif wtr < 1400:
        return 0x3972C6
    elif wtr < 1800:
        return 0x793DB6
    elif wtr >= 1800:
        return 0x401070
    else:
        return 0x930D0D