Generally, blue dye is used in the toilet bowl. Disinfection was generally carried out by mixing formaldehyde, bleach, or similar chemicals with the toilet water when flushed. Modern formulations are nitrate-based and work biologically.