0

It seems that the \color command just works with main colors. First, I want all my hyperlinks to be in a color a bit lighter than black. What is your suggestion? Second, how can I turn the text into less known colors?

5
  • 4
    Adding \usepackage{xcolor},\definecolor{Burgundy}{...} und apply the new colour Burgundy in the \hypersetup command with linkcolor or in the call of \usepackage[...]{hyperref}
    – user31729
    Commented Aug 24, 2017 at 21:43
  • 1
    See the xcolor manual at colors by name, perhaps there is a colour which looks pretty much like your imagination of Burgundy but has a different name there. Please keep in mind how readable your link will be after using such colours
    – user31729
    Commented Aug 24, 2017 at 21:58
  • texdoc xcolor as @ChristianHupfer says. \usepackage[x11names,dvipsnames,svgnames]{xcolor} for the full range of pre-defined colours.
    – cfr
    Commented Aug 24, 2017 at 22:44
  • Also \colorlet{Burgandy}{red!65!black} is another way to go.
    – cfr
    Commented Aug 24, 2017 at 22:45
  • What is your current setup that yields your hyperlinks to be black? Let's first start on the same page before shooting our random possible solutions...
    – Werner
    Commented Aug 24, 2017 at 23:34

1 Answer 1

10

Here are some Burgundy colours as defined by Wikipedia or other sites (left column of the table) and some colours as defined in the documentation of xcolor close to Burgundy:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage[x11names, svgnames, dvipsnames]{xcolor}
\definecolor{Burgundy}{RGB}{144,0,32}
\definecolor{Burgundy1}{RGB}{128,0,32}
\definecolor{Burgundy2}{RGB}{158,5,8}
\definecolor{VividBurgundy}{RGB}{159,29,53}

\begin{document}

\begin{tabular}{rl@{\hspace{4em}}rl}
  \color{Burgundy}Burgundy (Wikipedia) & \color{Burgundy}\rule{2cm}{1.25cm} & \color{DarkRed}DarkRed (SVGnames) & \color{DarkRed}\rule{2cm}{1.25cm} \\
  \addlinespace
  \color{VividBurgundy}Vivid Burgundy (Wikipedia) & \color{VividBurgundy}\rule{2cm}{1.25cm} & \color{FireBrick}FireBrick (SVGnames) & \color{FireBrick}\rule{2cm}{1.25cm} \\
  \addlinespace
  \color{Burgundy1}Burgundy1 & \color{Burgundy1}\rule{2cm}{1.25cm} & \color{Maroon}Maroon (dvipsnames) & \color{Maroon}\rule{2cm}{1.25cm} \\
  \addlinespace
  \color{Burgundy2}Burgundy2 & \color{Burgundy2}\rule{2cm}{1.25cm} & \color{Maroon}Maroon (dvipsnames) & \color{BrickRed}\rule{2cm}{1.25cm}
\end{tabular}

\end{document} 

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .