Convert HSV to RGB
Monkey Forums/Monkey Code/Convert HSV to RGB
| ||
Hey monks, I just needed a function to convert from HSV to RGB Colors. (might be usefull if you'd like to brighten up/darken a color) Edit: here's the RGB to HSV Function Feel free to play with it. If there are any bugs, please let me know. bye Duke |
| ||
Here's a little example for how to use these functions for adjusting the brightness of a color. First you have to convert a color you'd like to adjust from RGB -> HSV. Now you can use the _Value of HSV colorsheme to setup the brightness and reconvert it into RGB. Bye Duke |