Hope it gets you going!
Mark does HSV have a setting for white?
In HSV, white is any hue, zero saturation, and full brightness. So (0,0,255) should be white.
Likewise, black is any hue, any saturation, and zero brightness, i.e. (0,0,0).
Thanks I have a lot to learn about using HSV
The Wikipedia page http://en.wikipedia.org/wiki/HSL_and_HSV is pretty good.
UPDATE: there is now a way to recover approximate HSV values from an RGB color. See post at https://plus.google.com/112916219338292742137/posts/Rxx6RpgpSr2 (code is available on the 3.1 branch)