## Color::FromKnownColor method


Constructs an instance of [Color](../) class that represents the specified known color.

```cpp
static Color System::Drawing::Color::FromKnownColor(KnownColor kc)
```


| Parameter | Type | Description |
| --- | --- | --- |
| kc | KnownColor | A known color to be represented by the object being created |

### ReturnValue

An instance of [Color](../) class that represents **kc** color

## See Also

* Class [Color](../)
* Enum [KnownColor](../../knowncolor/)
* Class [Color](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
