All dye molecules are roughly the same besides the slight differences between the hydrogen, nitrogen and oxygen molecules, along with the addition of one to two more elements added. So the chemical formula really never changes. As seen with the comparison picture below. the only change is Bromine, changing the molecule ever so slghtly.