represents a light yellow color in graphics or style specifications.
LightYellow
represents a light yellow color in graphics or style specifications.
Details
- LightYellow is equivalent to Lighter[Yellow,0.85].
Background & Context
- LightYellow is a symbol that represents the color light yellow in graphics or style specifications. Color specifications in the Wolfram Language can appear explicitly inside a Graphics or Graphics3D expression (e.g. Graphics[{LightYellow,Disk[]}]), in which case they affect all subsequent expressions until another specification overrides them. They can also be used as part of an option specification, either singly (e.g. Plot[Sin[x],{x,0,2Pi},PlotStyle->LightYellow]) or as part of a Directive compound expression (e.g. Plot[Cos[x],{x,0,2Pi},PlotStyle->Directive[Thick,LightYellow]]). Finally, they can appear inside Style wrappers that affect the appearance of text, equations, and notebook cells (e.g. Style["hello",LightYellow]).
- Named symbols for other colors include Red, Brown, Green, Black, White, Gray, Cyan, Magenta, Yellow, Orange, Pink, and Purple, as well as their LightYellow etc. variants. Arbitrary colors can be input using Hue, RGBColor, CMYKColor, LABColor, LUVColor, or XYZColor. Colors can be modified using Lighter, Darker, and Blend. Colors may be converted between different systems using ColorConvert. The appearance of colors appearing in Graphics3D objects may be controlled using Glow, Specularity, and Lighting. The transparency of colored graphics objectives can be specified using Opacity. ColorData can be used to give a function that generates colors in a named color scheme.
Examples
open all close allBasic Examples (3)
Graphics[{LightYellow, EdgeForm[Black], Disk[]}]Make a plot with light yellow background:
Plot[Sin[x], {x, 0, 2Pi}, Background -> LightYellow, AxesStyle -> Black]Display a grid of numbers with light yellow background:
Grid[{{1, 2}, {3, 4}}, Frame -> All, Background -> LightYellow, BaseStyle -> Black]Possible Issues (2)
Light yellow can be affected by the colors of light sources in 3D:
Graphics3D[{LightYellow, Sphere[]}]To avoid this, neutral lighting can be used:
Graphics3D[{LightYellow, Sphere[]}, Lighting -> "Neutral"]In dark mode, the default tick and axes colors make them hard to read with a LightYellow background:
DarkModePane[Plot[Sin[x], {x, 0, 2Pi}, Background -> LightYellow]]Use LightModePane to force light mode coloring:
LightModePane[Plot[Sin[x], {x, 0, 2Pi}, Background -> LightYellow]]StandardYellow contrasts with both light and dark mode coloring:
g = Plot[Sin[x], {x, 0, 2Pi}, Background -> StandardYellow];
{LightModePane[g], DarkModePane[g]}See Also
Yellow DarkYellow StandardYellow ColorData Lighter Darker Blend RGBColor Style
Entity Types: Color
Related Guides
-
▪
- Colors
History
Text
Wolfram Research (2007), LightYellow, Wolfram Language function, https://reference.wolfram.com/language/ref/LightYellow.html.
CMS
Wolfram Language. 2007. "LightYellow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LightYellow.html.
APA
Wolfram Language. (2007). LightYellow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LightYellow.html
BibTeX
@misc{reference.wolfram_2026_lightyellow, author="Wolfram Research", title="{LightYellow}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/LightYellow.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_lightyellow, organization={Wolfram Research}, title={LightYellow}, year={2007}, url={https://reference.wolfram.com/language/ref/LightYellow.html}, note=[Accessed: 12-June-2026]}