Rainbow

The goal here is to make a function that, when supplied a value of range 0 to 1, returns the correct color of the rainbow for that position.

The colour is softened for cuteness at the end.