added i%porciones.length to color access