Convert HSB float array to RGB color int

edited September 2016 in How To...


I need to convert between HSB and RGB colors - I store colors in arrays as HSB but need to used these colours to set the color of ControlP5 buttons which require an RGB int to set their color.

I'd be very greatful if somone could post an example of this working in processing. My googling hasn't turned up anything i can get working!

thanks tom


Sign In or Register to comment.