It says how to convert float color values into byte color values everywhere, I want to know how to do the opposite, anyone please help me?
You have to divide byte value by 255.
double d = (double)byteValue / 255
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With