def get_color_specifier(basecolor, number):
    """Build an OpenGL color array for the number of specified vertices."""
    color = [float(x) for x in basecolor]
    if len(color) == 3:
        return ("c3d", color * int(number))
    elif len(color) == 4:
        return ("c4d", color * int(number))