COLOR USAGE GUIDE · svgnames
RoyalBlue.
A case-sensitive color name from the svgnames color set.
A lot of possibility.RoyalBlue · svgnames
Color specification
- Color set
- svgnames
- Native model
- rgb
- Native values
- 0.255,0.41,0.884
- Screen hex
- #4169E1
Screen values are approximate. CMYK previews use xcolor’s conversion; printed output depends on your driver and color profile.
\definecolor{myRoyalBlue}{rgb}{0.255,0.41,0.884}Use RoyalBlue in your document
1. Load the color set
Add this to your preamble before \begin{document}.
\usepackage[svgnames]{xcolor}2. Color some text
Apply color to a word, sentence, or heading.
\textcolor{RoyalBlue}{A little color goes a long way.}Add a background
Place a colored box behind a small piece of text.
\colorbox{RoyalBlue!20}{Highlighted text}Make a lighter shade
Mix 40% RoyalBlue with 60% white.
\colorlet{myShade}{RoyalBlue!40}
\textcolor{myShade}{A softer shade}