Plotly Surface Colorscale

Why can I only add 256 colors to the color scale of surfaces. Numbers above 256 work fine for contours and heat maps but nit for surfaces.