Randomized color with array modifier I'm learning Blender, and I want to make keys for a keyboard with RBG lights incorporated inside them (final render will be an image, not an animation).
I created a low-poly key, with 2 material : 1 for base color, and a second one for the random color.
So here is what I did

But now, i simply want to make an array to fill the keyboard. But the colors is not random at all, it stays the same.
Cycles
You can use parameter Random per Island
&quot;A random value for each connected component (island) of the mesh. It is useful to add variations to meshes composed of separated units like tree leaves, wood planks, or curves of multiple splines.&quot;


BTW For &quot;rainbow&quot; ColorRamp you can set just a two colors (Red-Blue) with HSL &gt; Clockwise.
Or for your full ring - Red-Cyan-Red. https://imgur.com/XUFqIju