Help with colors
#1

I want these colors :

#556B2F
#B3EE3A
#BCEE68

I get them from : http://www.december.com/html/spec/color1.html

Can someone convert them into Defines for me ?

EDIT: or should I just use #define PROX1 0x556B2F, #define PROX2 0xB3EE3A, etc... ?
Reply
#2

Quote:

#define NICE_BLUE 0xa0d3ffAA
#define GREEN 0x21DD00FF
#define RED 0xE60000FF

This is demo !
Reply
#3

demo of what ?
Reply
#4

#define Color 0xXXXXXXXXX

You can use this.
Reply
#5

I know that, but I need that to be converted
Reply
#6

He just told you how.

pawn Код:
#define COLOR_NAME 0x######
Reply
#7

#556B2F = 0xRRGGBB16
#B3EE3A = 0xRRGGBB65
#BCEE68 = 0xRRGGBB68

Try these but im not sure.
Reply
#8

Here.
pawn Код:
#define DARKGREEN 0x556B2FFF
#define LIGHTGREEN 0xB3EE3AFF
#define LIGHTGREEN2 0xBC3368FF
Put those at the top and whenever you want to use them just use the name, like this:
pawn Код:
SendClientMessage(playerid, DARKGREEN, "This message is dark green");
Reply
#9

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
Here.
pawn Код:
#define DARKGREEN 0x556B2FFF
#define LIGHTGREEN 0xB3EE3AFF
#define LIGHTGREEN2 0xBC3368FF
Put those at the top and whenever you want to use them just use the name, like this:
pawn Код:
SendClientMessage(playerid, DARKGREEN, "This message is dark green");
I know how to use them lmaooo, I just wanted them to be converted.
Reply
#10

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
Here.
pawn Код:
#define DARKGREEN 0x556B2FFF
#define LIGHTGREEN 0xB3EE3AFF
#define LIGHTGREEN2 0xBC3368FF
Put those at the top and whenever you want to use them just use the name, like this:
pawn Код:
SendClientMessage(playerid, DARKGREEN, "This message is dark green");
The last one was kinda pink, so its wrong, the others are fine
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)