|
-
retrieving R, G and B values from colour?
Hey all!
I have a game, in which the player can open maps to edit them. The maps each have their own colour.
The player assigns a colour to the map by using sliders (R, G, B)
This all works fine.
However, I also need a way to put those sliders back in place when re-opening an existing map. This means that I need to know what the percentages of R, G and B are in a colour.
I made flash trace a few of those colours, this is the output:
16646398
0
16646144
65024
58878
Can anybody help me here? I need to know the amounts of R, G and B in any colour.
Thanks in advance
Tags for this Thread
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
|