I can be black, white, brown, or purple riddle

Riddle
I can be long or can be short, I can be black, white, brown, or purple. You can find me the world over and I am often the main feature. What am I?

    Rice