Anodising colours are just dyes soaking into the controlled oxidised layer. Temporary repairs can sometimes be done with food colouring but colour matching is a PITA. For black, I've always used a good quality Sharpie pen.
I've used Carswelll's blueing before on steels, works well.