Create jet colormap using blender gradient texture
You can use ColorRamp to calculate the spectrum.


Set the two border colors (Blue and Red)
Set ColorRamp node to HSV > Far
Add the Gradient Texture node