class_docstr: This metaclass enables ColorGroup class types to be used like simple
  enumerations.
class_docstr_tok: ["This","metaclass","enables","ColorGroup","class","types","to","be","used","like","simple","enumerations","."]
code: def __getattr__(self, v: str) -> NamedColor:
      from . import named
  
      if v != "_colors" and v in self._colors:
          return getattr(named, v.lower())
      return getattr(type, v)
  
file_path: bokeh/src/bokeh/colors/util.py
imports: from __future__ import annotations
  import logging
  from typing import ClassVar, Iterator
  from .color import RGB
label_desc: Use image node_id 4 for calling the _ColorGroupMeta obj's underlying member method code with example usage: obj.__getattr__(v) and returns: getattr, getattr