## ColorTranslator::ToHtml method


指定された [Color](../../color/) オブジェクトを同等の HTML カラーの文字列表現に変換します。

```cpp
static String System::Drawing::ColorTranslator::ToHtml(const Color &color)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| color | const Color\& | 変換する [Color](../../color/) オブジェクト |

### ReturnValue

**color** が表すカラーに相当する HTML カラーの名前

## 参照

* Class [String](../../../system/string/)
* Class [Color](../../color/)
* Class [ColorTranslator](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
