The XColorUtility type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CalculateColorDistance |
Calculates a distance of two colors in the 3D RGB cube.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| FromConsoleColor |
Gets a corresponding color Color from a console color number colorId.
| |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetNearestColor |
Finds a closest color to colors in colors.
| |
| GetType | Gets the Type of the current instance. | |
| ChooseColor | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| ToAHLS |
Converts a RGB color to a HLS color.
| |
| ToARGB |
Converts a HLS color to a RGB color.
| |
| ToConsoleColor |
Finds a closest color for the console.
| |
| ToString | (Inherited from Object.) |