# How to make Page background Light in color

Hi i am looking for Light colors for the page background. here is my code:

\documentclass{article}[12pt]
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage[dvipsnames]{xcolor}
\begin{document}
\pagecolor{Dandelion}
\color{Violet}
\Large
$$x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}$$
\end{document}


My output is shown below:

How to reduce brightness of the above color?

• Welcome to TeX.SE, BTW --- and a tip, [12pt] should come before {article}, not after.
– chsk
May 3, 2021 at 7:31

You could mix it with white (or any other color really), for instance, using Dandelion!20!white ("20" here means 20% Dandelion, with the rest being white):

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage[dvipsnames]{xcolor}
\begin{document}
\pagecolor{Dandelion!20!white}
\color{Violet}
\Large
$$x=\frac{-b\pm \sqrt{b^2-4ac}}{2a}$$
\end{document}


Have a look at the xcolor documentation as well.

• Can this mixing be done with any two colors or only with white? May 3, 2021 at 7:28
• @Umeshshankar You can use any colors, and you're not limited to two either.
– chsk
May 3, 2021 at 7:29