Lighter
✖
Lighter
Details

- Lighter can be used to create a lighter version of a color or an image.
- Lighter[color,1] gives white. »
- Lighter[color,0] gives color. »
- Lighter[color] is equivalent to Lighter[color,1/3]. »
- Lighter[color,f] for values of f outside the range 0 to 1 are clipped.
- Lighter[image] works with 2D as well as 3D images.
- Lighter[{col1,col2,…},…] gives lighter versions of each of the coli. »
- When applied to color, Lighter always returns an RGBColor.
- When applied to color images, Lighter always returns an RGB image.
- Lighter does not affect the opacity of a color or an image. »

Examples
open allclose allBasic Examples (3)Summary of the most common use cases

https://wolfram.com/xid/0ftw0he-hhwt77


https://wolfram.com/xid/0ftw0he-eaea5v

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

https://wolfram.com/xid/0ftw0he-nq6f2u


https://wolfram.com/xid/0ftw0he-wdr3r0

Scope (9)Survey of the scope of standard use cases
Data (6)
Lighter version of a color:

https://wolfram.com/xid/0ftw0he-11ivlk

Lighter version of a 2D grayscale image:

https://wolfram.com/xid/0ftw0he-gh6oak


https://wolfram.com/xid/0ftw0he-bjfj25


https://wolfram.com/xid/0ftw0he-hxov8p

Lighter version of a 3D image:

https://wolfram.com/xid/0ftw0he-dgbb71

Lighter automatically threads over colors:

https://wolfram.com/xid/0ftw0he-lgof0q

Parameters (3)
The default lightening fraction is :

https://wolfram.com/xid/0ftw0he-ehwj


https://wolfram.com/xid/0ftw0he-muy0ov

Specify different darkening fractions:

https://wolfram.com/xid/0ftw0he-8ohl5a

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

https://wolfram.com/xid/0ftw0he-lgss3y


https://wolfram.com/xid/0ftw0he-d5ntua

With a lightening fraction of one, the color becomes white:

https://wolfram.com/xid/0ftw0he-gdub7d


https://wolfram.com/xid/0ftw0he-bzhspo

Applications (4)Sample problems that can be solved with this function
Use Lighter to construct ColorFunction for plots:

https://wolfram.com/xid/0ftw0he-ckygws


https://wolfram.com/xid/0ftw0he-et027z

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

https://wolfram.com/xid/0ftw0he-wcjr7

Make a dark, starry sky brighter:

https://wolfram.com/xid/0ftw0he-bnmz7b

Enhance a dark region of an image:

https://wolfram.com/xid/0ftw0he-yeslcg

https://wolfram.com/xid/0ftw0he-2qawkc


https://wolfram.com/xid/0ftw0he-8aoq5i

Properties & Relations (5)Properties of the function, and connections to other functions
Lighter of a color is always returned as an RGBColor:

https://wolfram.com/xid/0ftw0he-ryld4n


https://wolfram.com/xid/0ftw0he-d4ah70

The opacity value is unaffected by Lighter:

https://wolfram.com/xid/0ftw0he-m0nxt

Lighter is a special case of Blend:

https://wolfram.com/xid/0ftw0he-gxnfx6

Lighter and Darker are not commutative:

https://wolfram.com/xid/0ftw0he-bsawy3


https://wolfram.com/xid/0ftw0he-ne1849

Lighter for images is a special case of ImageAdjust:

https://wolfram.com/xid/0ftw0he-2oo9is

Possible Issues (3)Common pitfalls and unexpected behavior
Values outside of the 0–1 range will be clipped:

https://wolfram.com/xid/0ftw0he-ghunwl

Some colors may look faded during the lightening:

https://wolfram.com/xid/0ftw0he-fgqc7z

Lighter behaves differently when applied to a color and an image pixel of the same color:

https://wolfram.com/xid/0ftw0he-3euuwc


https://wolfram.com/xid/0ftw0he-51n01e

Interactive Examples (1)Examples with interactive outputs
Wolfram Research (2007), Lighter, Wolfram Language function, https://reference.wolfram.com/language/ref/Lighter.html (updated 2021).
Text
Wolfram Research (2007), Lighter, Wolfram Language function, https://reference.wolfram.com/language/ref/Lighter.html (updated 2021).
Wolfram Research (2007), Lighter, Wolfram Language function, https://reference.wolfram.com/language/ref/Lighter.html (updated 2021).
CMS
Wolfram Language. 2007. "Lighter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Lighter.html.
Wolfram Language. 2007. "Lighter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Lighter.html.
APA
Wolfram Language. (2007). Lighter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Lighter.html
Wolfram Language. (2007). Lighter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Lighter.html
BibTeX
@misc{reference.wolfram_2025_lighter, author="Wolfram Research", title="{Lighter}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Lighter.html}", note=[Accessed: 22-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_lighter, organization={Wolfram Research}, title={Lighter}, year={2021}, url={https://reference.wolfram.com/language/ref/Lighter.html}, note=[Accessed: 22-April-2025
]}