 The study found that using natural dyes extracted from Barbary roots and red onion skin in combination with the ultrasonic method resulted in an increase in antibacterial activity and UV protection factor. UPF values in cotton fabrics compared to traditional dyeing methods. This article was authored by Suramatagi.