float -> RGB
- To: mathgroup at smc.vnet.net
- Subject: [mg83605] float -> RGB
- From: "alexxx.magni at gmail.com" <alexxx.magni at gmail.com>
- Date: Sat, 24 Nov 2007 04:15:09 -0500 (EST)
Greetings, I need to convert a float number in 0..1 to RGB values - according to whichever palette you choose. How do you do it in Math, and which is the model underlaying the transformation? thanks! Alessandro Magni