7

I'm using the

\documentclass[a4paper, 12pt,fleqn]{article} 
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[colorlinks= false, urlcolor=blue]{hyperref}

package, but I don't want to see red or green color in the document. I just want to have it white so that I can click on the reference or table or anything that is linked with hyperref. Is there a possibility?

2 Answers 2

12

Use following. You can change colour as per your choice.

 \usepackage{hyperref}
 \hypersetup{
     colorlinks=true,
     linkcolor=blue,
     filecolor=blue,
     citecolor = black,      
     urlcolor=cyan,
     }
2
  • What if I want a colour is not predefined? For example, a dark green. Thanks in advance. May 3, 2021 at 9:00
  • 2
    Then define that color first --- e.g. \definecolor{pAlgae}{RGB}{87,115,135} May 3, 2021 at 9:20
5

To achieve no color in the hyperlinks use:

\usepackage[hidelinks]{hyperref}

or:

\usepackage{hyperref}
\hypersetup{hidelinks}

Reference

You must log in to answer this question.

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