## Color.FromKnownColor method

Creates a Color structure from the specified predefined color.

```csharp
public static Color FromKnownColor(KnownColor color)
```

| Parameter | Type | Description |
| --- | --- | --- |
| color | KnownColor | An element of the KnownColor enumeration. |

### Return Value

The Color that this method creates.

### See Also

* enum [KnownColor](../../knowncolor/)
* struct [Color](../)
* namespace [System.Drawing](../../color/)
* assembly [Aspose.Drawing](../../../)


