While we’re on the topic of HSV, RGB and so on…
@wizard we don’t need a built in but if you want a quick win:
HSL (which is more like paint mixing than light mixing) is relatively easy to convert to HSV
So we can use a quick hsl2hsv function for it, like this one
But if you add a built in hsl(), that would be nice.
Added: Ah, it’s a really simple conversion if it’s needed. I’m using code
I found here http://jsfiddle.net/Lamik/ba9vgj7L to do this:
HSL quicky - not quite HSV