def METHOD_NAME(cls, name: str) -> NamedColor | None:
    ''' Find and return a named color.
    Args:
        name (str) : Name of color to find.
    Returns:
        :class:`~bokeh.colors.NamedColor` or None if the name is not
        recognised.
    '''
    try:
        index = cls.__all__.index(name)
    except ValueError:
        return None
    return cls.colors[index]