Call #pixel_color only once