Different Colours coming?(It's the right hex code)
#1

Title says it all ,
the code is:
PHP код:
#define COL_RED       0xFF0000
#define COL_GRAY      0xBABABA
#define COL_GREEN    0x00FF51
#define COL_BLUE      0x0000FF
#define COL_YELLOW  0xFFFB00 
It all gets mixed up , can anyone help?
Reply
#2

you missed alpha channel
PHP код:
// 0x R G B A
#define COL_RED        0xFF0000FF
#define COL_GRAY    0xBABABAFF
#define COL_GREEN    0x00FF51FF
#define COL_BLUE    0x0000FFFF 
#define COL_YELLOW    0xFFFB00FF 
Reply
#3

PHP код:
#define COL_RED       0xFF0000AA
#define COL_GRAY      0xBABABAAA
#define COL_GREEN    0x00FF51AA
#define COL_BLUE      0x0000FFAA
#define COL_YELLOW  0xFFFB00AA 
Reply
#4

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)