Is is possible to make a procedural rainbow texture in Create?

Hello, I made this simple procedural rainbow texture in Blender:

Does anyone know how to replicate that in Create?

I think I can:

  • Replace the “ColorRamp” with a bunch of “Condition? color” nodes.
  • Replace the “Modulo” with a mix of subtract and divide int.

I have no idea how to:

Maybe another way…

Oh man, all of this for just a 7 colors rainbow:

And thank you! I’ll share the material file tomorrow, stayed late for this.

This is it: M_rainbow.material.usdc (23.1 KB)