def getMarkerColor(colorStr):
    """Given a color ID string returns the RGB tuple from the color ID String."""
    if colorStr == 'blue':
        return (255, 0, 0)
    elif colorStr == 'red':
        return (0, 0, 255)
    elif colorStr == 'green':
        return (0, 255, 0)
    elif colorStr == 'cyan':
        return (255, 255, 0)
    elif colorStr == 'yellow':
        return (0, 255, 255)
    elif colorStr == 'magenta':
        return (255, 0, 255)
    return (0, 0, 0)