Send a set of RGB values to the light

def send_rgb(dev, red, green, blue, dimmer):
    """
    Send a set of RGB values to the light
    """
    cv = [0 for v in range(0, 512)]
    cv[0] = red
    cv[1] = green
    cv[2] = blue
    cv[6] = dimmer
    sent = dev.send_multi_value(1, cv)
    return sent