view almost finised. Still struggling to calculate colors