OK - seeing as you asked so nicely Instead of splitting it up into 3 different components R, G and B then doing a calculation on each of these in turn to find H S and B ,applying some transform on H and B and then turning these back into R G and B - then in turn combining this to find a flash friendly hex value - I'd like to know if it's possible to go Hex - Hsb - transform - Hex or to find HSB from hex do I have to split out the RGB components? Any clearer? M
________________________________ From: [EMAIL PROTECTED] on behalf of Ammon Sent: Fri 15/09/2006 17:07 To: Flashcoders mailing list Subject: Re: [Flashcoders] Hex to HSB Mike Mountain wrote: > Thanks, but I was hoping this would be possible without having to > convert to RGB first - I basically want to do pixel by pixel colour > transform on a copy of a video whilst it's being played so it needs to > be ultra efficient. I'm sorry... but explain to my how a hex number of the form 0xRRGGBB isn't _already_ an RGB value? :P Ammon _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

