controlp5 icon indicating copy to clipboard operation
controlp5 copied to clipboard

ColorPicker doesn't respond `colorMode(HSB)` correctly

Open merttoka opened this issue 4 years ago • 0 comments

cP5: 2.2.6 Processing: 3.5.3

I am using my sketch colors in HSB, and I realized that the ColorPicker still shows RGB sliders for adjusting color components even in HSB colorMode. R slider controls the Hue, G slider controls Saturation and B slider controls Brightness, which is confusing if not anything else. I found the following method as a quick workaround:

  colorMode(RGB);
  cp5.draw();
  colorMode(HSB);

merttoka avatar Jun 11 '20 16:06 merttoka