Michael, >> Why isn't it accurate? You should be able to translate RGB to Hex just >> fine. >> > >The color I put into the script isn't exactly the same as what comes out >the >other end. I don't really understand how the script works, though.
This function should work correctly: http://www.cflib.org/udf.cfm?ID=339 >Why would you want to use RGB? Why not just use hex to begin with? If >you've >> got any sort of Photo editor (Photoshop, Fireworks, etc) then it should >be >> a >> cinch to get the hex value from RGB. >> > >As I said, I am receiving an RGB value (from Alagad Image Component), so it >would be somewhat simpler to use RGB, and I was just curious about browser >support. The main idea behind my entire app is so I don't have to use >Photoshop to get colors every time I want to post a photo, and so I can >post >photos remotely where I may not have acess to it. All the modern browsers should support the rgb(0,0,0) syntax, but having the hex number is a little more flexible. Maybe it's just cause I've always dealt w/hex colors, but that just the format I prefer. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230086 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

