Topographical 3D Surface Plot (Color based on X-axys)

Hi,

I want to implement a 3D graph where the X-axys is the visible light wavelength (nm). I would like the graph X-axys to match the color (R-G-B) based on the value.

The topographical 3D surface plot seems to only allow me to have color based on the Z axys.

Is there any way with plotly to do this?

Thank you !

Try using surfacecolor as in https://codepen.io/etpinard/pen/YWwNxo