class_docstr: A string holding a color recognized by Google Maps.
  
  Apparently Google Maps accepts 'all CSS3 colors, including
  RGBA, [...] except for extended named colors and HSL(A)
  values'.
  
  Using `this <https://www.w3.org/TR/css3-color/#html4>` page
  for reference.
class_docstr_tok: ["A","string","holding","a","color","recognized","by","Google","Maps",".","Apparently","Google","Maps","accepts","'all","CSS3","colors",",","including","RGBA",",","[","...","]","except","for","extended","named","colors","and","HSL","(","A",")","values","'",".","Using","`","this","<","https",":","\/\/www.w3.org\/TR\/css3-color\/","#","html4",">","`","page","for","reference","."]
code: def validate(self, obj, value):
      try:
          value_as_string = super(ColorString, self).validate(
              obj, value
          )
          normalised_string = value_as_string.replace(" ", "").lower()
          if (
              normalised_string.lower() in _color_names
              or _color_re.match(normalised_string)
              or _rgb_re.match(normalised_string)
              or _rgba_re.match(normalised_string)
          ):
              return normalised_string
          else:
              return self.error(obj, value)
      except TypeError:
          return self.error(obj, value)
  
imports: import re
  import traitlets
  from .locations import locations_to_list
label_desc: Use image node_id 1 for calling the ColorString obj's underlying member method code with example usage: obj.validate(obj, value) and returns: normalised_string, self, self