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


Updated In 6 Graphic
is a graphics directive which specifies the gray-level intensity with which objects that follow should be displayed.
GrayLevel[g, a]
specifies opacity a.
  • 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.
  • For 3D surfaces, explicit GrayLevel directives define surface colors; the final shading depends on lighting.
  • In GrayLevel[g, a], a is an "alpha channel" used to specify opacity.
  • Style[expr, GrayLevel[...]] specifies that expr should be displayed with the specified gray level.  »
New in 1 | Last modified in 6