jQuery - color cycle animation with hsv colorspace?

Posted by Sgt. Floyd Pepper on Stack Overflow See other posts from Stack Overflow or by Sgt. Floyd Pepper
Published on 2010-06-08T11:30:31Z Indexed on 2010/06/08 11:42 UTC
Read the original article Hit count: 306

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about animation