|
static Color | HueToRGB (double hue) |
| Gets an RGB colour from a hue value.
|
|
static Color | HsvToRGB (double hue, double saturation, double value) |
| Converts an HSV to RGB value.
|
|
static Color | HexToRGB (string hexValue) |
| Convertes a Hex Value to a RGB Colour.
|
|
static string | RGBToHex (Color color) |
| Converts a Colour to a hex code.
|
|
◆ HexToRGB()
static Color VerticesEngine.Utilities.vxColourUtil.HexToRGB |
( |
string | hexValue | ) |
|
|
static |
Convertes a Hex Value to a RGB Colour.
- Parameters
-
hexValue | a 6 character hex value |
- Returns
◆ HsvToRGB()
static Color VerticesEngine.Utilities.vxColourUtil.HsvToRGB |
( |
double | hue, |
|
|
double | saturation, |
|
|
double | value ) |
|
static |
Converts an HSV to RGB value.
- Parameters
-
hue | Hue value from 0 to 1 |
saturation | Saturation value from 0 to 1 |
value | Value from 0 to 1 |
- Returns
◆ HueToRGB()
static Color VerticesEngine.Utilities.vxColourUtil.HueToRGB |
( |
double | hue | ) |
|
|
static |
Gets an RGB colour from a hue value.
- Parameters
-
- Returns
◆ RGBToHex()
static string VerticesEngine.Utilities.vxColourUtil.RGBToHex |
( |
Color | color | ) |
|
|
static |
Converts a Colour to a hex code.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Utilities/vxColourUtil.cs