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

Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives /

Hue

FilledSmallSquare Hue[h] is a graphics directive which specifies that graphical objects which follow are to be displayed, if possible, in a color corresponding to hue h.

FilledSmallSquare Hue[h, s, b] specifies colors in terms of hue, saturation and brightness.

FilledSmallSquare The parameters h, s and b must all be between 0 and 1. Values of s and b outside this range are clipped. Values of h outside this range are treated cyclically.

FilledSmallSquare 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.

FilledSmallSquare Hue[h] is equivalent to Hue[h, 1, 1].

FilledSmallSquare On monochrome displays, a gray level based on the brightness value is used.

FilledSmallSquare See Section 1.9.6 and Section 2.10.3.

FilledSmallSquare See also: RGBColor, GrayLevel, CMYKColor.

FilledSmallSquare Related package: Graphics`Colors`.

FilledSmallSquare New in Version 2.

Further Examples