Functionalization of benzo[c,d]indole system for the synthesis of visible and near‐infrared dyes