COLOR USAGE GUIDE · dvipsnames
GreenYellow.
A case-sensitive color name from the dvipsnames color set.
A lot of possibility.GreenYellow · dvipsnames
Color specification
- Color set
- dvipsnames
- Native model
- cmyk
- Native values
- 0.15,0,0.69,0
- Screen hex
- #D9FF4F
Screen values are approximate. CMYK previews use xcolor’s conversion; printed output depends on your driver and color profile.
\definecolor{myGreenYellow}{cmyk}{0.15,0,0.69,0}Use GreenYellow 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{GreenYellow}{A little color goes a long way.}Add a background
Place a colored box behind a small piece of text.
\colorbox{GreenYellow!20}{Highlighted text}Make a lighter shade
Mix 40% GreenYellow with 60% white.
\colorlet{myShade}{GreenYellow!40}
\textcolor{myShade}{A softer shade}