HTMLHelperGetSafeColorFromHtml Method |
Returns color from HTML string color definition.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntaxpublic static Color GetSafeColorFromHtml(
string color,
Color defaultColor
)
Parameters
- color
- Type: SystemString
HTML color definition - defaultColor
- Type: System.DrawingColor
Default color to return
Return Value
Type:
Color
See Also