Home > All Other Interfaces > IColor > FromHTMLColor
Sets the IColor6 object from HTML color format (“#RRGGBB”).
| 
 JavaScript  | 
 
  | 
| 
 FromHTMLColor( htmlColor)  | 
|
| 
 C#  | 
 
  | 
| 
 void FromHTMLColor( string htmlColor)  | 
|
| 
 C++  | 
 
  | 
| 
 HRESULT FromHTMLColor( BSTR htmlColor)  | 
|
Parameters
htmlColor
A string that represents HTML color format.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.