How to remove the coloured box around hyperref links in Latex document?

+1 vote
I am using the "hyperref" package to add links to figures and tables in the latex document. However, it puts a colored box around the link that looks weird. How can I get rid of the colored box and keep only links?

by (176k points)
selected by

You can add one of the followings to the header of the Latex document to remove the colored box around the links.

This will hide the box and the link will have no color.

This will hide the box and the link will have some color (e.g. red).

+1 vote