Yes, it renders the image if I use 1:nelements(grid). It just does not accept the color names…
1:nelements(grid)