It just doesn't save things correctly sometimes its really irritating I've ended up nearly loosing a entire site because of it!
My script is much better now and was less coding I ended up with a while loop as I know them better.
I'm building quite a library of simple functions to make my JS coding much easier

.
I shall now be working on the changing colours.
Now I can see how it works I think I can make it, only issue I have is I shall use someone elses code to convert hex to rgb and rgb to hex (just for my ease of use).