Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Colors >
Mathematica > Data Manipulation > Image Processing & Analysis > Color Processing > Colors >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Directives > Colors >

Darker

Updated In 7 Graphic
Darker[color]
represents a darker version of the specified color.
Darker[color, f]
represents a version of the specified color darkened by a fraction f.
Darker[image, ...]
gives a darker version of an image.
  • Darker[color, f] for values of f outside the range 0 to 1 are clipped.
  • Darker[{col1, col2, ...}, ...] gives darker versions of each of the coli.  »
Darker version of colors:
Specify how much the color should be darkened by using a fraction:
Darker version of an image:
Darker version of colors:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Specify how much the color should be darkened by using a fraction:
In[1]:=
Click for copyable input
Out[1]=
 
Darker version of an image:
In[1]:=
Click for copyable input
Out[1]=
With a darkening fraction of zero the color is unchanged:
With a darkening fraction of one the color becomes black:
The default darkening fraction is 1/3:
Darker automatically threads over colors:
Use Darker to construct ColorFunction for plots:
Use Darker and Lighter values of a particular hue as a color function:
Darker is a special case of Blend:
Darker and Lighter are not commutative:
Values outside of the 0, 1 range will be clipped:
Some colors may look greenish during the darkening:
Tilted bumpy texture:
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team