HUE —
adjust HUE
COLOR
Format
Parameters
color:
angle:
type:
Function
HUE color, angle[, type];
number representing the color for hue adjustment:
0 = all colors
1 = R
2 = Y
3 = G
4 = C
5 = B
6 = M
angle of hue rotation in degrees:
color = 0, – 180 to 180 (default = 0)
color = 1 – 6, –10 to 10 (default = 0)
object type
The HUE command shifts all the pixels around the 'color wheel' to a different point for
adjusting the tint of a color. For example, shifting the red pixels to green turns the green
pixels to blue and yellow pixels to cyan.When color is 0, the HUE command shifts all
hues at the specified angle.
As shown in the figure below, shifting hues can be liken to rotating the color wheel.
When the wheel is rotated by 60 degrees clockwise, red shifts to magenta and yellow to
red.
HUE
127