---
title: "Color.ToNaturalColorString"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/color/tonaturalcolorstring/"
product: "Aspose.HTML for .NET API Reference"
description: "Color ToNaturalColorString method. Returns a Natural colors NCol specified color using a color letter with a number to specify the distance in percent from the color"
---

## Color.ToNaturalColorString method

Returns a Natural colors (NCol) specified color using a color letter with a number to specify the distance (in percent) from the color.

```csharp
public string ToNaturalColorString(int digits)
```

| Parameter | Type | Description |
| --- | --- | --- |
| digits | Int32 | Sets the rounding precision for color components. |

### Return Value

A Natural colors (NCol) string

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
