Reference manual/Color library
Back to dvipsnames
COLOR USAGE GUIDE · dvipsnames

OliveGreen.

A case-sensitive color name from the dvipsnames color set.

#009900A little color.
A lot of possibility.
OliveGreen · dvipsnames

Color specification

Color set
dvipsnames
Native model
cmyk
Native values
0.64,0,0.95,0.4
Screen hex
#009900

Screen values are approximate. CMYK previews use xcolor’s conversion; printed output depends on your driver and color profile.

\definecolor{myOliveGreen}{cmyk}{0.64,0,0.95,0.4}

Use OliveGreen in your document

1. Load the color set

Add this to your preamble before \begin{document}.

\usepackage[dvipsnames]{xcolor}

2. Color some text

Apply color to a word, sentence, or heading.

\textcolor{OliveGreen}{A little color goes a long way.}
Preview text in simulator

Add a background

Place a colored box behind a small piece of text.

\colorbox{OliveGreen!20}{Highlighted text}
Preview background in simulator

Make a lighter shade

Mix 40% OliveGreen with 60% white.

\colorlet{myShade}{OliveGreen!40}
\textcolor{myShade}{A softer shade}
Open in color mixer
Explore more xcolor commands