Not sure whether something like this idea has been posted elsewhere on the forum, but I tried using Hazel to label files with Hook links (tagged Hook) with a color label in Finder. Here’s what the rule looks like:
When I create a Hook link, I noticed in the macOS Finder info that a tag named “Hook” is added to the file. So the Hazel rule looks for files with this tag and then gives them a color label, to make it noticeable which ones have links attached.
~/Documents, and, actually, I found that it wasn’t hitting all the subfolders/files until I added an additional action in Hazel, which was Run Rules on Folder Contents. I updated the screenshot above.
Just to note if you right-click on a tag in the Finder sidebar, you can assign a colour to it: so I have the ‘Hook’ tag coloured purple and can therefore see any file that’s been hooked.
As already pointed out, setting a global colour is best handled in Finder. However, if you want the colour to be different depending on which folder the hooked file is in, then Hazel is a great option.
I use Hazel to rename the hook tag to which takes less space and feels more ‘hooky’. @LucB Perhaps you can make it an option to set this as default?