I'm using hyperref and cleveref in my document. Now, for clarity to my readers I want the links (that will reference other documents so might not be clear) to have a different color than black. And, for my own sanity, I would prefer to just keep using the \cref{...} command. How would I achieve this? I can find this and this (along more), however; the first is not globally, and only works for that specific type. The second redefines the \cref{} command, which shouldn't be the solution to this basic problem.
What I want to achieve is this:
This can be created using the following:
\textcolor{bluegray}{\cref{chap:lorem}}
However, when I try to get the \textcolor command to be used globally I can only come this far:
This can be created using the following in the preamble:
\crefdefaultlabelformat{\textcolor{bluegray}{#2#1}#3}
And just using \cref{chap:lorem} in the text. With this solution, chapter is not colored bluegray as well, which is what I want to achieve. This is logical, because this command only applies to the label counter as per the cleveref docs.
The solution mentioned here does what I want using \crefformat{<type>}{<format>}; however, the code there only works for that specific type. I don't want to go around and having to re-define this for every type I use in my document (though certainly possible, I feel like there has to be a cleaner way for this). I don't see a \crefdefaultformat{<format>} command or the alikes in the cleveref docs.
What would be the best approach? Am I basically forced to override the default \cref{} command?


\crefnameand\Crefnamethemselves to include the\textcolor, though this would still require you to include\crefname{chapter}{chapter}{chapters}etc for each counter cleveref recognizes by default. I'll update the answer if I think of a better way. – ronno Apr 16 '20 at 14:27\ccref(colored cref) and\Ccref; which fits my needs. Simply just added this\newcommand{\ccref}[1]{\textcolor{bluegray}{\cref{#1}}}to the preamble, and use it like the regular\crefcommand. Feel free to add this to your answer; then I'll mark it as the solution :) – MagicLegend Apr 17 '20 at 07:51