Colour Gradient Bug

Hi. I want to create a colour gradient using Rhino tab - Gradient and Hatch components. I believe that this setup is correct, but Gradient component output is “Null”. The only working condition is when I feed a colour to the “G” input.

Here with a random colour connected to “G” input. However the gradient distribution still look odd.

I believe that this is a bug.
Minimal GH file:
GradientHatchIssue.gh (18.2 KB)

Until you know for sure, maybe better to use the word “anomaly” instead of “bug” in the title?

No solution? :frowning:

On my machine it works with up to 7 colours - but it breaks when I add 8 or more