Colors
Last updated
Was this helpful?
Last updated
Was this helpful?
The background colour of the entire page can be easily changed with \pagecolor
. See the next example:
The command \pagecolor{black}
set the page colour to black. This is a switch command, meaning it will take effect in the entire document unless another switch command is used to revert it. \nopagecolor
will change the background back to normal.
Open an example of the xcolor package in Overleaf
Basic colour names available in LATEX
white, black, red, green, blue, cyan, magenta, yellow
Colour names available with the dvipsnames
option