Color is picked by average value (not tested yet).