def color_me(dist_infp):
    """
    Generate the background coloring for a next round game field.
    """
    total = sum(dist_infp)
    high = max(dist_infp)
    compv = high * 1024
    compv /= total
    compv -= 511.5
    color = int(compv)
    if color < 0:
        color = 0
    if color > 511:
        color = 511
    greenv = 255
    if color < 256:
        redv = color
    else:
        redv = 255
        xtra = color - 256
        greenv -= xtra
    cstyle = '#'
    cstyle += "{:02X}".format(redv)
    cstyle += "{:02X}".format(greenv)
    cstyle += "00"
    return cstyle