Water dye will stay good for at least 5 days at room temperature,21 to 27 degrees celcius. It will stay good longer than 10 weeks if stored in a refigerator.
Yes , in flower food is put a bacteria killer , which help to keep the water clear. https://centimo.nl/product/postharvest-preservation-liquid-anti-bacteria/%E2%80%8B