This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Notebooks  /
Background

  • Background is an option which specifies the background color to use.
  • Background is an option for graphics functions, Text, Cell and ButtonBox.
  • The setting for Background in graphics functions must be a CMYKColor, GrayLevel, Hue or RGBColor directive.
  • The default setting in graphics functions is Background->Automatic, which produces a white background on most output devices.
  • In Text, Background->None draws no background rectangle around the text and Background->Automatic draws a background rectangle in the same color as the background for the whole plot.
  • In a cell, the background is used only for the region inside any cell frame.
  • See the Mathematica book: Section 2.8.9, Section 2.8.11, Section 2.9.3Section 2.10.9.
  • See also: Prolog, DefaultColor, PlotRegion, FontColor.

    Further Examples

    This gives a gray background to the plot.

    Evaluate the cell to see the graphic.

    In[1]:=