Class ColorXlat
Translates color values Color/Web
Inheritance
System.Object
ColorXlat
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Graphics
Assembly: Azos.dll
Syntax
public static class ColorXlat
Methods
FromHTML(String)
Declaration
public static Color FromHTML(string html)
Parameters
Type | Name | Description |
---|---|---|
System.String | html |
Returns
Type | Description |
---|---|
System.Drawing.Color |
ToHTML(Color)
Declaration
public static string ToHTML(Color clr)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | clr |
Returns
Type | Description |
---|---|
System.String |