Functions that take separate r, g, b arguments (as oposed to hex string) work with floating-point values between 0.0 and 1.0. For example (1.0, 0.6, 0.1) is orange, (0.8, 0.8, 1.0) is soft blue (or something like it, I made the numbers up now
) Simply divide your values / 255.