Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Colors >

GrayLevel

Updated In 6 Graphic
GrayLevel[level]
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
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team