converter rgb para flutuar

float fR = intR / 255.0F;
Zarden