We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Quick question. Is there a way to get the hue value using big shifting? As a reference: https://processing.org/reference/rightshift.html
color argb = color(204, 204, 51, 255); int a = (argb >> 24) & 0xFF; int r = (argb >> 16) & 0xFF; // Faster way of getting red(argb) int g = (argb >> 8) & 0xFF; // Faster way of getting green(argb) int b = argb & 0xFF; // Faster way of getting blue(argb)
My question is if there is a similar operation for HSB space. Or does anybody know how the RGB space is projected to HSB?