jQuery - color cycle animation with hsv colorspace?
- by Sgt. Floyd Pepper
Hi there,
I am working on a project, which I need a special body-background for. The background-color should cycle through the color spectrum like a mood light. So I found this:
http://buildinternet.com/2009/09/its-a-rainbow-color-changing-text-and-backgrounds/
"But" this snippet is working with the RGB colorspace which has some very light and dark colors in it. Getting just bright colors will only work with the HSV colorspace (e.g. having S and V static at 100 and letting H cycle). I don’t know how to convert and in fact how to pimp this snippet for my needs.
Does anyone has an idea??
Thanks in advance. Best, Floyd