Color to Hue
in
Programming Questions
•
10 months ago
The user can define H, B and possibly S too, in tint(),
- tint(colorInt,200,LBrightness);
The default color is in RGB, thus has to be converted.
Which would be this case:
- color lighting = color (LRed,LGreen,LBlue);
I'm not sure what to do next, I have tried several ways, but they all end up incorrectly.
the value in lighting has to end up as colorInt, with the exact same color.
I assume I have to use the 'a' values in colorMode?
- colorMode(HSB,a,a,a);
Oh yeah, the user can use every color he desires, so a limitation for color radius can't be applied.
1