support different colors for bars