# How to only color external links in LaTeX

Package hyperref is quite handy for making a compiled LaTeX document more accessible, by allowing to quickly jump to references (back to the text with package backref), section headings (from the table of contents) and weblinks.

By default, links are marked by a coloured rectangles, which only appear on screen, not in print. If one wants to get rid of the rectangles, there are options. However, there is also the colorlinks that marks hyperlinks by changing their text colour. However, these makes all link types become coloured. There is a way to reset certain link types to the default text colour, just by setting their colour to an empty value like this: