Shadows not Showing up? Also help with color variation in shaders
Right here you are telling a Transparent BSDF to amplify the light passing through the gumdrops in a non-realistic way.  Stick to Value and Saturation in the 0 - 1 range to produce realistic results.
Geometry -&gt; Random Per Island is the key to separating out an array.

You could replace the Viewer here with your Color Ramp.