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