General information
Category:
Coding, syntax & commands
Thank You - worked like a charm.
- Chris
>r= bitand(rgb(255,0,0),x)
>g= Bitrshift(bitand(rgb(0,255,0),x),8)
>b= Bitrshift(bitand(rgb(0,0,255),x),16)
>
>...where x is your number.
>
>Bit functions are so cool.
>
>>I'd like to take a color numeric value, such as 15122532 and parse it into its separate rgb values.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only