represents a darker version of the specified color.


represents a version of the specified color darkened by a fraction f.


gives a darker version of an image.


  • Darker[color,1] gives black. »
  • Darker[color,0] gives color. »
  • Darker[color] is equivalent to Darker[color,1/3]. »
  • Darker[color,f] for values of f outside the range 0 to 1 is clipped.
  • Darker[image] works with 2D as well as 3D images.
  • Darker[{col1,col2,},] gives darker versions of each of the coli. »
  • When applied to color, Darker always returns an RGBColor.
  • When applied to color images, Darker always returns an RGB image.
  • Darker does not affect the opacity of a color or an image.


open allclose all

Basic Examples  (3)

Darker version of colors:

Specify how much the color should be darkened by using a fraction:

Darker version of an image:

Scope  (8)

Data  (5)

Darker version of a color:

Darker version of a 2D grayscale image:

Darker version of an image:

Darker version of a 3D image:

Darker automatically threads over colors:

Parameters  (3)

The default darkening fraction is :

Specify different darkening fractions:

With a darkening fraction of zero, the color is unchanged:

With a darkening fraction of one, the color becomes black:

Applications  (3)

Use Darker to construct ColorFunction for plots:

Use Darker and Lighter values of a particular hue as a color function:

Detect the face in an image and highlight it by darkening the background:

Combine the darkened background with the original:

Properties & Relations  (5)

Darker of a color is always returned as an RGBColor:

The opacity value is unaffected by Darker:

Darker is a special case of Blend:

Darker and Lighter are not commutative:

Darker for images is a special case of ImageAdjust or Blend:

Possible Issues  (2)

Values outside of the 0, 1 range will be clipped:

Some colors may look greenish during the darkening:

Interactive Examples  (1)

Observe the changing chromaticity of a color image as the image is made darker:

Neat Examples  (1)

Tilted bumpy texture:

Introduced in 2007
Updated in 2012