[]
Returns the color index from the palette.
public int GetColorIndex(Color color)
Public Function GetColorIndex(color As Color) As Integer
| Type | Name | Description |
|---|---|---|
| Color | color | Primary or secondary color. |
| Type | Description |
|---|---|
| int | The color index from the palette. |