This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Hue

Updated In 6 Graphic
Hue[h]
is a graphics directive which specifies that objects which follow are to be displayed, if possible, in a color corresponding to hue h.
Hue[h, s, b]
specifies colors in terms of hue, saturation and brightness.
Hue[h, s, b, a]
specifies opacity a.
  • The parameters h, s, b and a must all be between 0 and 1. Values of s, b and a outside this range are clipped. Values of h outside this range are treated cyclically.  »
  • As h varies from 0 to 1, the color corresponding to Hue[h] runs through red, yellow, green, cyan, blue, magenta, and back to red again.  »
  • The alternative forms Hue[{h, s, b}] and Hue[{h, s, b, a}] can also be used.  »
  • On monochrome output devices, a gray level based on the brightness value is used.
  • For 3D surfaces, explicit Hue directives define surface colors; the final shading depends on lighting.
  • Glow[Hue[...]] specifies color independent of lighting.  »
  • In Hue[h, s, b, a], a is an "alpha channel" used to specify opacity.
  • If no opacity has been specified, Hue[h, s, b] is equivalent to Hue[h, s, b, 1].
  • Style[expr, Hue[...]] specifies that expr should be displayed with the specified color.  »
New in 2 | Last modified in 6