Interpolating in HSV color space

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-06-11T00:59:13Z Indexed on 2010/06/11 1:02 UTC
Read the original article Hit count: 285

Filed under:
|
|

I have an HSV color A at 3/10 of a line and HSV color B at 9/10 of a line. I'm making multistep gradients and for example if I wanted to find the color at 6/10ths of a line, how could I interpolate these HSV colors? I'm firmiliar with the technique for rgb but not HSV. I should also add that my HSV's are integers H(0,360) S(0,100) V(0,100). Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about c