6

im using the \documentclass[a4paper, 12pt,fleqn]{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[colorlinks= false, urlcolor=blue]{hyperref} package, but i want that i see no red or green color in the document, i just want to have it white so that i can klick on the reference or table or anything that is linked with hyperref. Is there a possibility

2 Answers 2

9

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
2

To achieve no color in the hyperlinks use:

\usepackage[hidelinks]{hyperref}

or:

\usepackage{hyperref}
\hypersetup{hidelinks}

Reference

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.