## Graphics.GetNearestColor method

Obtient la couleur la plus proche de la valeur spécifiéeColor structure.

```csharp
public Color GetNearestColor(Color color)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| color | Color | Color structure pour laquelle trouver une correspondance. |

### Return_Value

UNColor structure qui représente la couleur la plus proche de celle spécifiée avec le*color* paramètre.

### Voir également

* struct [Color](../../color)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
