Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


is a graphics directive specifying that objects that follow are to be displayed in the gray level given.

specifies opacity a.


  • GrayLevel represents shades of the gray color. represents black and represents white.
  • The gray level must be a number between and . »
  • represents black; represents white.
  • On display devices with no native graylevel capability, dither patterns are typically used.
  • ColorConvert can be used to convert between GrayLevel and other color spaces.
  • The alternative forms GrayLevel[{g}] and GrayLevel[{g,a}] can also be used. »
  • Style[expr,GrayLevel[]] specifies that expr should be displayed with the specified gray level. »
  • For 3D surfaces, explicit GrayLevel directives define surface colors; the final shading depends on lighting.
  • GrayLevel[g,a] is equivalent to {GrayLevel[g],Opacity[a]}. »
  • If no opacity has been specified, GrayLevel[g] is equivalent to GrayLevel[g,1].
Introduced in 1988
| Updated in 2007