color: int to string (hex)
#6

Quote:
Originally Posted by Y_Less
View Post
Transparency doesn't work in embedded colours, so its pointless even trying to format them.
I do not want to use for the color of the text, but for listings. This was an example

new color = 0xBB9911AA;
format (string, sizeof (string), "color is: %06x", color >>> 8 );// i need Transparency

result:
"Color is: BB9911"
bud i need
"Color is: BB9911AA"
Reply


Messages In This Thread
color: int to string (hex) - by ATomas - 12.06.2013, 13:37
Re: color: int to string (hex) - by OrMisicL - 12.06.2013, 13:59
Re: color: int to string (hex) - by feartonyb - 12.06.2013, 13:59
Re: color: int to string (hex) - by ATomas - 13.06.2013, 07:55
Re: color: int to string (hex) - by ATomas - 13.06.2013, 07:58
Re: color: int to string (hex) - by ATomas - 13.06.2013, 09:49
Re: color: int to string (hex) - by Vince - 13.06.2013, 09:51
Re: color: int to string (hex) - by ATomas - 13.06.2013, 09:52

Forum Jump:


Users browsing this thread: 3 Guest(s)