When I am white, I do good.
When I am black, I do evil.
When I am grey, I do both.
When I am red, I rule.
What am I?
Puzzling Stack Exchange is a question and answer site for those who create, solve, and study puzzles. It only takes a minute to sign up.
Sign up to join this communityyou are
a hat !
When I am white, I do good.
white hats hacks for the common good, to help improve network security
When I am black, I do evil.
black hats hacks for fun and profit
When I am grey, I do both.
a gray hat hacks sometime for the common good, and sometime for despicable reasons
When I am red, I rule.
red hat is a widely used, and rather good, linux distribution (probably leader on the market)
Another answer that works is
the Four Horsemen of the Apocalypse.
When I am white, I do good.
The rider of the white horse is sometimes said to represent Jesus.
When I am black, I do evil.
The rider of the black horse usually represents famine, which is an evil outcome.
When I am grey, I do both.
The rider of the grey horse represents death, which is often an evil thing but can sometimes be merciful and a relief.
When I am red, I rule.
The rider of the red horse represents war: a conflict often fought to decide who should rule.