def expandCesiumColor(colorString):
    """
    Returns None or Cesium.Color.COLORNAME
    """
    if colorString is None:
        return None
    colorString.replace(' ', '')
    if '.' in colorString:
        parts = colorString.split('.')
        if len(parts) == 3:
            return '{}.{}.{}'.format(parts[0].capitalize(), parts[1].
                capitalize(), parts[2].upper())
        else:
            return colorString
    else:
        return 'Cesium.Color.{}'.format(colorString.upper())
