You can use color couplers and a color developing agent like CD-2 or CD-4 to produce colors during development. This is the basis for Kodachrome. You can mix couplers to get various colors, but it sounds pretty experimental to me. I've listed an old formula intended for prints, below.
Focal chromogenic developer:
Diethyl-p-phenylene-diamine hydrochloride 2 g (I think this is CD-2, but it may be CD-1. Just about any color developing agent will do.)
Sodium carbonate 30 g
Sodium Sulfite 1 g
Potassium bromide 1 g
Hydroxylamine hydrochloride 1 g
WTM 1 l
Couplers:
Magenta
p-nitrophenyl acetanilide 500 mg
Acetone 12 ml
Ethanol (denatured) 100 ml
Brown
2,5,dichloroacetoacetanilide 500 mg
p-nitrophenyl acetonitrile 500 mg
Acetone 12 ml
Ethanol (denatured) 100 ml
Blue
alpha-napthol 700 mg
Alcohol 100 ml
Cyan
Dichloro alpha-napthol 1 g
Alcohol 100 ml
Green
2,4-dichloro-alpha-napthol 500 mg
2,5-dichloroacetacetanilide 500 mg
Alcohol 100 ml
Yellow
o-chloroacetanilide 1 g
Alcohol 100 ml
Yellow
2,5,dichloroacetanilide 1 g
Alcohol 100 ml
For use, mix 100 ml of developer with 10 ml of coupler and use as a one shot.