docs: def from_name(clz, name):
          """
          Instantiates the object from a known name
          """
          if isinstance(name, list) and "green" in name:
              name = "teal"
          assert name in COLOR_NAMES, 'Unknown color name'
          r, b, g = COLOR_NAMES[name]
          return clz(r, b, g)