summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/gridpapers/examples/custom-colors.tex
blob: 1dcc94048998d10808c9772917375f69be6d5e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\documentclass{article}

\usepackage{xcolor}

% See the documentation of the xcolor package to learn about different
% color models for specifying colors
\definecolor{mydeepgreen}{rgb}{0.07, 0.56, 0.04}

% You can easily mix colors by using the ! syntax from xcolor.  Here
% we use it to mix 40% of our color with 60% white.
\usepackage[pattern=majmin,
  majorcolor=mydeepgreen,
  minorcolor={mydeepgreen!40}]{gridpapers}

\begin{document}
\thispagestyle{empty}
~
\end{document}