Thanks for the query.
The answer is - A Skunk.
Skunks
Skunks are mammals known for their ability to spray a liquid with a strong odor. Different species of skunk vary in appearance from black-and-white to brown or cream colored, but all have warning coloration.
I can be long and can be short, I can be black, white, brown or purple. You can find me the world over and I am often the main event. What am I?
Against your royalty I attack, Going black to white and white to black And one by two or two by one, Until I'm caught or the war is done. What am i?