code: def __init__(self, color, *args):
      message = f"""This does not look like a valid color: {repr(color)}.
  
  Colors must be in one of the following formats:
  
  * Hex string with 3, 4, 6, or 8 digits. Example: `'#00ff00'`
  * List or tuple with 3 or 4 components. Example: `[1.0, 0.5, 0, 0.2]`
              """
      super().__init__(message, *args)
  
file_path: streamlit/lib/streamlit/color_util.py
imports: from typing import Any, Callable, Collection, Tuple, Union, cast
  from typing_extensions import TypeAlias
  from streamlit.errors import StreamlitAPIException
label_desc: Use image node_id 1 to create a new InvalidColorException object from inherited base classes: StreamlitAPIException with example: obj = InvalidColorException(color)