|
-
Sep 6th, 2011, 09:33 PM
#2
Re: How can I find the 32 bit number of a color?
The Color structure has a ToArgb method that returns an Integer, i.e. 32-bit number. You can use the BitConverter class to break that into its alpha, red, green and blue components if desired. There is also a FromArgb method that will accept a single 32-bit value or four 8-bit values.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|