How do I specify color in RGB using \hypersetup
in hyperref
?
I know that this is the right way to do it with color names:
\hypersetup{colorlinks,breaklinks,
urlcolor=Maroon,
linkcolor=Maroon}
But I want Teal
, which hyperref
doesn't recognize. I know Teal = {0 128 128}
in RGB, but the following code won't compile:
\hypersetup{colorlinks,breaklinks,
urlcolor={0 128 128},
linkcolor={0 128 128}}
I have tried it with comma separators, proportional values (e.g. 0 < x < 1
), but to no avail. What is the right way to do it? Also mention the correct texdoc
that I should read for further info.
rbg
withRGB
in Geoffrey Jones answer below. E.g.urlcolor = [RGB]{0 128 128}
.