Small amounts, e.g. spills from oil drums, I use two part epoxy resin & as it starts to harden mix
in a bit of ink or thinned paint. Stir (as much, or as little as you want) Leave it to harden.
For larger amounts, such as polluted ponds, there are quite a few tutorials on the internet including
LAF.