Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Advanced Options  /
DefaultColor

  • DefaultColor is an option for graphics functions which specifies the default color to use for lines, points, etc.
  • The setting for DefaultColor must be a CMYKColor, GrayLevel, Hue or RGBColor directive.
  • The default setting is DefaultColor->Automatic, which gives a default color complementary to the background specified.
  • See the Mathematica book: Section 2.9.3.
  • See also: Prolog, Background, FontColor, TextStyle.

    Further Examples

    This colors the entire plot green.

    Evaluate the cell to see the graphic.

    In[1]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.