The parameter
ncols
represents the number of colors to use.