PRESCRIBE Command Reference
126
COLOR
HUE — adjust HUE
Format
HUE color, angle[, type];
Parameters
color:
number representing the color for hue adjustment:
0 = all colors
1 = R
2 = Y
3 = G
4 = C
5 = B
6 = M
angle:
angle of hue rotation in degrees:
color = 0, – 180 to 180 (default = 0)
color = 1 – 6, –10 to 10 (default = 0)
type:
object type
Function
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.