[pdftex] Color Package

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue Mar 25 08:56:32 CET 2003


On Tue, Mar 25, 2003 at 01:54:51AM +0000, Arun Kejariwal wrote:

>   Even when I include the color package
> (\usepackage[pdftex,usenames]{color}), pdflatex does not recognise colors 
> like Violet, CadetBlue etc. Actually, I was trying to use Violet in the 
> \hypersetup{ ...}. Whereas it works fine with latex. Could some one suggest 
> me how to get around this?

\documentclass{article}
\usepackage[usenames,dvipsnames]{color}
\usepackage[colorlinks]{hyperref}
\hypersetup{urlcolor=CadetBlue}

\begin{document}
\textcolor{Violet}{Hello World}
\url{http://www.dante.de/}
\end{document}

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list