Change bgColor for average upto data