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

ColorFunction

Updated In 6 Graphic
ColorFunction
is an option for graphics functions which specifies a function to apply to determine colors of elements.
  • With ColorFunction->func, the arguments supplied to func are as follows:
  • The list of possible color function names is given by ColorData["Gradients"].
  • Combinations of directives can be specified using Directive[g1, g2, ...].
  • In 3D graphics, ColorFunction by default specifies diffuse colors for surfaces.
New in 2 | Last modified in 6