Direct functionalization of BODIPY dyes by oxidative nucleophilic hydrogen substitution at the 3- or 3,5-positions.