Using HSB colour mode, does anyone know the correct resolution / setting for each without any internal calculations??
Example: colorMode(HSB, 45,97,43) would cause a conversion when reading / writing values respective to actual correct HSB settings in colorMode.
H= 0 > 255
S= 0 > 255
B= 0 > 255
As this would make sense in RGB mode ??
But Hue ranges from 0>359. Can we display all 360 hues or is this internally altered to 0 > 255 ??
Thanks all for your info.
I fully understand HSV and RGB externally (conversions etc)
Am just interested in how colours are stored in PGraphics.
On initial question using HSV,
H= 0 > 359
S= 0 > 100
B= 0 > 100
Gives 3.6 million combinations
R= 0 > 255
G= 0 > 255
B= 0 > 255
Gives 16.6 million combinations
What is the highest setting for HSB which uses all combinations in the PGraphics array (24 bit etc).
(As setting H to 3600 will results in loss in array)
RGB usually has a 0 > 255 range, and setting higher to 2550,2550,2550 would waste definition due to PGraphics limit.
What is this limit
I’ve seen a post here mentioning internal reading / write HSB conversions resulting in jumps in increment / decrement.
So using RGB now as easier to control.
Far better results.
Here are some low-res images using original HSB settings. Currently rendering with new RGB.