Description
Changes the RGB value of a specified
Color object. Color
must exist in the palette.
C#
vb.net
Parameters
color
TheColor
object to modify. This must be a Palette color (i.e. Color.IsPaletteColor must return true).
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.Examples
C#
vb.net