This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
GrayLevel

  • GrayLevel[ level ] is a graphics directive which specifies the gray-level intensity with which graphical objects that follow should be displayed.
  • The gray level must be a number between 0 and 1.
  • 0 represents black; 1 represents white.
  • On display devices with no native gray-level capability, dither patterns are typically used, as generated by the PostScript interpreter.
  • The end of the Graphics Gallery shows examples of gray levels generated with various GrayLevel specifications.
  • See the Mathematica book: Section 2.9.1Section 2.9.3.
  • See also: RGBColor, Hue, Raster.