[]
Searches for the specified color in the palette and returns a zero-based index of the found entry.
public int IndexOf(Color color)