Crescent opened this issue on Sep 15, 2001 ยท 11 posts
dwilmes posted Sat, 15 September 2001 at 9:20 PM
Crescent, those yes-no things can be confusing conceptually, for sure, with the double negatives that can come up, like with "hidden 0" meaning "no, it is not hidden". As for the RGB's, the number you gave is probably "good enough for government work", the actual formula to acurately make the conversion is: B = Whatcolor 65536 G = (Whatcolor - (B * 65536)) 256 R = (Whatcolor - ((B * 65536) + (G * 256))) where Whatcolor is a number from 0 to 16million+ as returned by a system color dialog or in code. However, very few paint programs if any will use this number directly with it accessible to the user, so if you are doing it by hand,your numbers are the practical way to do it. Dan http://www.zenwareonline.com/cr2edit/cr2edit.html Sorry Win only for software http://www.zenwareonline.com for ZenPaint, ZenTile, ZenGrid and VueMaster