From https://www.shadertoy.com/view/4sl3DH
This shader rotates hue around gray vector, preserving luminance. It's simple and straightforward, so it's a good start for those who makes first steps into shaders kingdom.