Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColorPicker doesn't respond colorMode(HSB) correctly #164

Open
merttoka opened this issue Jun 11, 2020 · 0 comments
Open

ColorPicker doesn't respond colorMode(HSB) correctly #164

merttoka opened this issue Jun 11, 2020 · 0 comments

Comments

@merttoka
Copy link

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant