# color/rotate-hue Rotate the hue by `degrees` (any sign, wraps at 360). Saturation, lightness and alpha are preserved. ## Syntax
[color/rotate-hue $color $degrees]
## Examples
[color/rotate-hue "#ff0000" 30]     # "#ff8000"
[color/rotate-hue "#ff0000" 120]    # "#00ff00"
[color/rotate-hue "#ff0000" -60]    # "#ff00ff"
## Returns `"#rrggbb"` hex string, or `"#rrggbbaa"` when the input is translucent. nil when the color is unparseable or `degrees` is missing/non-numeric. ## See Also `color/complement`