Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

Returns the color in the palette closest to the specified color. The closest match is defined as the color in the palette that has the minimum difference between RGB value of the specified color and its RGB value.

C#
vb.net

Parameters

color
The desired color.

Returns

The closest color in the palette to the specified RGB value

Examples

C#
vb.net
  • No labels