Is there a list of colours for text?
#1

Hey Fellow Scripters again
This time i was just wondering if there was a list somewhere or something i could use to get the Colour codes from for the IG text?

Cheers Steve
Reply
#2

Click Me
Reply
#3

Siiick Thanks
Reply
#4

Hmmm....
when i "#define ANNOUNCEMENT 0xFF0000"
Shouldn't announcement to Red not green?

I guess im doing something wrong cos they are different lengths
#define ANNOUNCEMENT 0xFF0000
#define GREY 0xCECECEFF

I also tried "#define ANNOUNCEMENT 0xCC1111"

Still doesn't compare:
#define ANNOUNCEMENT 0xCC1111
#define GREY 0xCECECEFF
Reply
#5

Click here to check an application that was made for this type of stuff.
Reply
#6

"503 Service Temporarily Unavailable"
Reply
#7

Here you go. Don't try this at home. Lol just scroll down and click the solidfiles mirror. That is the one I trust .
Reply
#8

Quote:
Originally Posted by ******
Посмотреть сообщение
No - colours are defined as "RGBA" - that's Red, Green, Blue, Alpha. When written as a hexadecimal number these sections nicely fit in to individual bytes:

pawn Код:
0xRRGGBBAA
(Note that R and G aren't valid hex values, this is just an example). Your code only has three bytes listed, so only three of the 4 bytes are defined, the fourth is the default (0), so you have, when the code is padded to 4 bytes:

pawn Код:
0x00FF0000
Which clearly sets the Red component to 0.
Hi, can I ask what's the difference between "0xFF0000FF" and "0xAA0000AA" ? Are A, B, C, D, E and F the same thing?
Reply
#9

I think I learned it. So the max value of 1 hexadecimal digit is 16?

And how to make colors with decimal numbers?
Reply
#10

Hm, how to convert hex in RGB format to RGBA?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)