How do you make HP bar colours?

I want my friendly players hp bar green and enemies players red, how do you make it? i look at my game setting and didn’t see there. Any help?

Mods, or tinker with the color blind settings is the only way I know.

Might be another way.

i find it hard to play the game if i’m healing because in my game HP bar colours are according to the classes, How can i change it to green and red?

Use an addon for nameplates, most likely. Like Plater or something.

is there any setting that can change without addon?

Not that I know of.

Don’t think so.
Plenty of addons to change nameplates though.
My favorite is Tidy Plates.
https://www.curseforge.com/wow/addons/tidy-plates