Method HueShift
HueShift(Color, float)
Shift the hue of a color by a given amount.
Declaration
public static Color HueShift(Color color, float shift)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The input color. |
| float | shift | The amount of shift. |
Returns
| Type | Description |
|---|---|
| Color | The output color. |
Remarks
The hue value wraps around to 0 if the shifted hue exceeds 1.0.