store mean of RGB channel