Method FindOrAddColor
FindOrAddColor(Color?, string?)
Finds an existing color in the list or adds the specified color if it does not exist.
public virtual Color? FindOrAddColor(Color? value, string? title = null)
Parameters
valueColorThe Color to find or add.
titlestringAn optional title associated with the color. If null, no title is assigned.