HSB mix two colours problem
in
Programming Questions
•
4 months ago
Hello everyone,
I have a problem with mixing two colours. I am working in HSB colour mode. I have a saturation and brightness values constant and dont want to change them. What I want to end up with is a smooth transition between two any colours, but without 'looping' through the whole colours range(e.g I want to have mix of a green and purple - changing the H (hue) value I would end up with blue and turquoise in between, which i strive to avoid). Does anyone have any suggestion how I can solve this problem? (keeping the S and B values constant)
1