Description
Replaces the color at the specified index with a new color.
C#
vb.net
Parameters
index
The 0-based index of the color to modify. Must be between 0 and 55.red
The red component of the desired color. Must be between 0 and 255.green
The green component of the desired color. Must be between 0 and 255.blue
The blue component of the desired color. Must be between 0 and 255.Returns
A Color object representing the new color at the specified index in the palette.Examples
C#
vb.net