Fermentative production of natural colorants using microbial strains has emerged as a cost-effective and sustainable alternative to chemical synthesis. Visual pigments are used as signal outputs in colorimetric bacterial biosensors, a promising method for monitoring environmental pollutants. In this study, we engineered four self-sufficient indigo-forming enzymes, including HbpAv, bFMO, cFMO, and rFPMO, in a model bacterium E. coli. TrxA-bFMO was chosen for its strong ability to produce indigo under T7 lac and mer promoters' regulation. The choice of bacterial hosts, the supplementation of substrate l-tryptophan, and ventilation were crucial factors affecting indigo production. The indigo reporter validated the biosensors for Hg(II), Pb(II), As(III), and Cd(II). The biosensors reported Hg(II) as low as 14.1 nM, Pb(II) as low as 1.5 nM, and As(III) as low as 4.5 nM but increased to 25 μM for Cd(II). The detection ranges for Hg(II), Pb(II), As(III), and Cd(II) were quantified from 14.1 to 225 nM, 1.5 to 24.4 nM, 4.5 to 73.2 nM, and 25 to 200 μM, respectively. The sensitivity, responsive concentration range, and selectivity are comparable to β-galactosidase and luciferase reporter enzymes. This study suggests that engineered enzymes for indigo production have great potential for green chemical synthesis. Additionally, heterologous biosynthesis of indigo production can lead to the development of novel, low-cost, and mini-equipment bacterial biosensors with zero background noise for visual monitoring of pollutant heavy metals.