Carbon dots with red emission as a fluorescent and colorimeteric dual-readout probe for the detection of chromium(vi) and cysteine and its logic gate operation.