Advertisement
GammixSAMP

colors.inc - By Gammix

May 4th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.70 KB | None | 0 0
  1. /*
  2. Colors Include (colors.inc)
  3. * Most used and flexible colors and embeded colors list!
  4. * Now avaliable color crasher fix(optional though)
  5. * 2 handy player functions !
  6.  
  7. Author: (creator)
  8. * Gammix
  9.  
  10. (c) Copyright 2015
  11. * This file is provided as is (no warranties).
  12. */
  13. /*
  14. FUNCTIONS:
  15. native GameTextForPlayer(playerid, text[], expiretime, style);
  16. native GameTextForAll(text[], expiretime, style);
  17. native TextDrawCreate(Float:x, Float:y, text[]);
  18. native TextDrawSetString(Text:textdraw, string[]);
  19. native CreatePlayerTextDraw(playerid, Float:x, Float:y, text[]);
  20. native PlayerTextDrawSetString(playerid, PlayerText:textdraw, string[]);
  21. native _
  22. native SetPlayerMarkerVisibility(playerid, alpha = 0xFF, forplayerid = -1);
  23. native TogglePlayerMarker(playerid, bool:toggle, forplayerid = -1);
  24. native _
  25. native COLOR_Create(RR, GG, BB, AA = 255);
  26. native COLOR_SetTransparency(color, alpha = 0xFF);
  27. native COLOR_HexToInt(str[]);
  28. native COLOR_IntToHex(cint);
  29. */
  30.  
  31. #define FIX_COLOR_CRASH //comment this if you don't want gametext and textdraws crash fixed!
  32. #define DEBUG_CRASH //comment this if you don't want console warnings when an unsafe text is entered in a gametext of textdraw
  33.  
  34. #if defined FIX_COLOR_CRASH
  35.  
  36. #if ! defined iseven
  37. #define iseven(%0) \
  38. ((%0) & 2)
  39. #endif
  40.  
  41. stock static iscrashfree(text[])
  42. {
  43. static count = 0;
  44. for(new i, j = strlen(text); i < j; i++)
  45. {
  46. if(text[i] == '~') count += 1;
  47. }
  48. if(iseven(count) == 0) return false;
  49. return true;
  50. }
  51.  
  52. #if defined DEBUG_CRASH
  53. #define debugerror(%0) printf("[colors.inc] DEBUG: An un safe string was passed in %s; But the system prevented the crash!", %0)
  54. #endif
  55.  
  56. //now gametext hooking
  57. stock _GameTextForPlayer(playerid, text[], expiretime, style)
  58. {
  59. #if defined DEBUG_CRASH
  60. if(! iscrashfree(text)) return debugerror("GameTextForPlayer");
  61. #else
  62. if(! iscrashfree(text)) return false;
  63. #endif
  64. return GameTextForPlayer(playerid, text, expiretime, style);
  65. }
  66. #if defined _ALS_GameTextForPlayer
  67. #undef GameTextForPlayer
  68. #else
  69. #define _ALS_GameTextForPlayer
  70. #endif
  71.  
  72. #define GameTextForPlayer _GameTextForPlayer
  73.  
  74. stock _GameTextForAll(text[], expiretime, style)
  75. {
  76. #if defined DEBUG_CRASH
  77. if(! iscrashfree(text)) return debugerror("GameTextForAll");
  78. #else
  79. if(! iscrashfree(text)) return false;
  80. #endif
  81. return GameTextForAll(text, expiretime, style);
  82. }
  83. #if defined _ALS_GameTextForAll
  84. #undef GameTextForAll
  85. #else
  86. #define _ALS_GameTextForAll
  87. #endif
  88. #define GameTextForAll _GameTextForAll
  89.  
  90. stock Text:_TextDrawCreate(Float:x, Float:y, text[])
  91. {
  92. #if defined DEBUG_CRASH
  93. if(! iscrashfree(text))
  94. {
  95. debugerror("TextDrawCreate");
  96. return Text:INVALID_TEXT_DRAW;
  97. }
  98. #else
  99. if(! iscrashfree(text)) return Text:INVALID_TEXT_DRAW;
  100. #endif
  101. return TextDrawCreate(x, y, text);
  102. }
  103. #if defined _ALS_TextDrawCreate
  104. #undef TextDrawCreate
  105. #else
  106. #define _ALS_TextDrawCreate
  107. #endif
  108. #define TextDrawCreate _TextDrawCreate
  109.  
  110. stock _TextDrawSetString(Text:textdraw, string[])
  111. {
  112. #if defined DEBUG_CRASH
  113. if(! iscrashfree(string)) return debugerror("TextDrawSetString");
  114. #else
  115. if(! iscrashfree(string)) return false;
  116. #endif
  117. return TextDrawSetString(textdraw, string);
  118. }
  119. #if defined _ALS_TextDrawSetString
  120. #undef TextDrawSetString
  121. #else
  122. #define _ALS_TextDrawSetString
  123. #endif
  124. #define TextDrawSetString _TextDrawSetString
  125.  
  126. stock PlayerText:_CreatePlayerTextDraw(playerid, Float:x, Float:y, text[])
  127. {
  128. #if defined DEBUG_CRASH
  129. if(! iscrashfree(text))
  130. {
  131. debugerror("CreatePlayerTextDraw");
  132. return PlayerText:INVALID_TEXT_DRAW;
  133. }
  134. #else
  135. if(! iscrashfree(text)) return PlayerText:INVALID_TEXT_DRAW;
  136. #endif
  137. return CreatePlayerTextDraw(playerid, x, y, text);
  138. }
  139. #if defined _ALS_CreatePlayerTextDraw
  140. #undef CreatePlayerTextDraw
  141. #else
  142. #define _ALS_CreatePlayerTextDraw
  143. #endif
  144. #define CreatePlayerTextDraw _CreatePlayerTextDraw
  145.  
  146. stock _PlayerTextDrawSetString(playerid, PlayerText:textdraw, string[])
  147. {
  148. #if defined DEBUG_CRASH
  149. if(! iscrashfree(string)) return debugerror("PlayerTextDrawSetString");
  150. #else
  151. if(! iscrashfree(string)) return false;
  152. #endif
  153. return PlayerTextDrawSetString(playerid, textdraw, string);
  154. }
  155. #if defined _ALS_PlayerTextDrawSetString
  156. #undef PlayerTextDrawSetString
  157. #else
  158. #define _ALS_PlayerTextDrawSetString
  159. #endif
  160. #define PlayerTextDrawSetString _PlayerTextDrawSetString
  161.  
  162. #endif
  163.  
  164. //player functions
  165. stock SetPlayerMarkerVisibility(playerid, alpha = 0xFF, forplayerid = -1)
  166. {
  167. if(! IsPlayerConnected(playerid)) return false;
  168.  
  169. if(forplayerid < 0) return SetPlayerColor(playerid, COLOR_SetTransparency(GetPlayerColor(playerid), alpha));//set color for all
  170. else return SetPlayerMarkerForPlayer(playerid, forplayerid, COLOR_SetTransparency(GetPlayerColor(playerid), alpha));//set color for a specific player
  171. }
  172.  
  173. stock TogglePlayerMarker(playerid, bool:toggle, forplayerid = -1)
  174. {
  175. if(! IsPlayerConnected(playerid)) return false;
  176.  
  177. if(! toggle) return SetPlayerMarkerVisibility(playerid, 0, forplayerid);
  178. else
  179. {
  180. for(new i; i < MAX_PLAYERS; i++) SetPlayerMarkerVisibility(playerid, 0xFF, forplayerid);
  181. }
  182. return true;
  183. }
  184.  
  185. //color functions
  186. stock COLOR_Create(RR, GG, BB, AA = 255)//make a color
  187. {
  188. return (RR*16777216) +
  189. (GG*65536) +
  190. (BB*256) +
  191. AA;
  192. }
  193.  
  194. stock COLOR_SetTransparency(color, alpha = 0xFF)//color can only be a hex
  195. {
  196. static newcolor;
  197.  
  198. alpha = clamp(alpha, 0x00, 0xFF);
  199.  
  200. newcolor = (color & ~0xFF) | alpha;
  201. return newcolor;
  202. }
  203.  
  204. stock COLOR_HexToInt(str[])//credits to samp team
  205. {
  206. if(! str[0]) return false;
  207.  
  208. static cur = 1, res = 0;
  209. for(new i = strlen(string); i > 0; i--)
  210. {
  211. res += cur * (string[i - 1] - ((string[i - 1] < 58) ? (48) : (55)));
  212. cur = cur * 16;
  213. }
  214. return res;
  215. }
  216.  
  217. stock COLOR_IntToHex(cint)//better and simple method !
  218. {
  219. static str[18];
  220. format(str, sizeof(str), "{%06x}", n >>> 8);
  221. return str;
  222. }
  223.  
  224. //Embeded colors
  225. //different embeded color shades of red
  226. #define INDIAN_RED "{CD5C5C}"
  227. #define LIGHT_CORAL "{F08080}"
  228. #define SALMON "{FA8072}"
  229. #define DARK_SALMON "{E9967A}"
  230. #define LIGHT_SALMON "{FFA07A}"
  231. #define CRIMSON "{DC143C}"
  232. #define RED "{FF0000}"
  233. #define FIREBRICK "{B22222}"
  234. #define DARK_RED "{8B0000}"
  235.  
  236. //different embeded color shades of pink
  237. #define PINK "{FFC0CB}"
  238. #define LIGHT_PINK "{FFB6C1}"
  239. #define HOT_PINK "{FF69B4}"
  240. #define DEEP_PINK "{FF1493}"
  241. #define MEDIUM_VIOLET_RED "{C71585}"
  242. #define PALE_VIOLET_RED "{DB7093}"
  243.  
  244. //different embeded color shades of Orange
  245. #define CORAL "{FF7F50}"
  246. #define TOMATO "{FF6347}"
  247. #define ORANGE_RED "{FF4500}"
  248. #define DARK_ORANGE "{FF8C00}"
  249. #define ORANGE "{FFA500}"
  250.  
  251. //different embeded color shades of Yellow
  252. #define GOLD "{FFD700}"
  253. #define YELLOW "{FFFF00}"
  254. #define LIGHT_YELLOW "{FFFFE0}"
  255. #define LEMON_CHIFFON "{FFFACD}"
  256. #define LIGHT_GOLDENROD_YELLOW "{FAFAD2}"
  257. #define PAPAYAWHIP "{FFEFD5}"
  258. #define MOCCASIN "{FFE4B5}"
  259. #define PEACHPUFF "{FFDAB9}"
  260. #define PALE_GOLDENROD "{EEE8AA}"
  261. #define KHAKI "{F0E68C}"
  262. #define DARK_KHAKI "{BDB76B}"
  263.  
  264. //different embeded color shades of Purple
  265. #define LAVENDER "{E6E6FA}"
  266. #define THISTLE "{D8BFD8}"
  267. #define PLUM "{DDA0DD}"
  268. #define VIOLET "{EE82EE}"
  269. #define ORCHID "{DA70D6}"
  270. #define FUCHSIA "{FF00FF}"
  271. #define MAGENTA "{FF00FF}"
  272. #define MEDIUM_ORCHID "{BA55D3}"
  273. #define MEDIUM_PURPLE "{9370DB}"
  274. #define AMETHYST "{9966CC}"
  275. #define BLUE_VIOLET "{8A2BE2}"
  276. #define DARK_VIOLET "{9400D3}"
  277. #define DARK_ORCHID "{9932CC}"
  278. #define DARK_MAGENTA "{8B008B}"
  279. #define PURPLE "{800080}"
  280. #define INDIGO "{4B0082}"
  281. #define SLATE_BLUE "{6A5ACD}"
  282. #define DARK_SLATE_BLUE "{483D8B}"
  283. #define MEDIUM_SLATEBLUE "{7B68EE}"
  284.  
  285. //different embeded color shades of Green
  286. #define GREEN_YELLOW "{ADFF2F}"
  287. #define CHARTREUSE "{7FFF00}"
  288. #define LAWN_GREEN "{7CFC00}"
  289. #define LIME "{00FF00}"
  290. #define LIME_GREEN "{32CD32}"
  291. #define PALE_GREEN "{98FB98}"
  292. #define LIGHT_GREEN "{90EE90}"
  293. #define MEDIUM_SPRING_GREEN "{00FA9A}"
  294. #define SPRING_GREEN "{00FF7F}"
  295. #define MEDIUM_SEA_GREEN "{3CB371}"
  296. #define SEA_GREEN "{2E8B57}"
  297. #define FOREST_GREEN "{228B22}"
  298. #define GREEN "{008000}"
  299. #define DARK_GREEN "{006400}"
  300. #define YELLOW_GREEN "{9ACD32}"
  301. #define OLIVED_RAB "{6B8E23}"
  302. #define OLIVE "{808000}"
  303. #define DARK_OLIVE_GREEN "{556B2F}"
  304. #define MEDIUM_AQUA_MARINE "{66CDAA}"
  305. #define DARK_SEA_GREEN "{8FBC8F}"
  306. #define LIGHT_SEA_GREEN "{20B2AA}"
  307. #define DARK_CYAN "{008B8B}"
  308. #define TEAL "{008080}"
  309.  
  310. //different embeded color shades of Blue/Cyan
  311. #define AQUA "{00FFFF}"
  312. #define CYAN "{00FFFF}"
  313. #define LIGHT_CYAN "{E0FFFF}"
  314. #define PALE_TURQUOISE "{AFEEEE}"
  315. #define AQUA_MARINE "{7FFFD4}"
  316. #define TURQUOISE "{40E0D0}"
  317. #define MEDIUM_TURQUOISE "{48D1CC}"
  318. #define DARK_TURQUOISE "{00CED1}"
  319. #define CADET_BLUE "{5F9EA0}"
  320. #define STEEL_BLUE "{4682B4}"
  321. #define LIGHT_STEEL_BLUE "{B0C4DE}"
  322. #define POWDER_BLUE "{B0E0E6}"
  323. #define LIGHT_BLUE "{A9C4E4}"
  324. #define SKY_BLUE "{87CEEB}"
  325. #define LIGHT_SKYBLUE "{87CEFA}"
  326. #define DEEP_SKY_BLUE "{00BFFF}"
  327. #define DODGER_BLUE "{1E90FF}"
  328. #define CORN_FLOWER_BLUE "{6495ED}"
  329. #define MEDIUMSLATE_BLUE "{7B68EE}"
  330. #define ROYAL_BLUE "{4169E1}"
  331. #define BLUE "{0000FF}"
  332. #define MEDIUM_BLUE "{0000CD}"
  333. #define DARK_BLUE "{00008B}"
  334. #define NAVY "{000080}"
  335. #define MIDNIGHT_BLUE "{191970}"
  336.  
  337. //different embeded color shades of Brown
  338. #define CORN_SILK "{FFF8DC}"
  339. #define BLANCHED_ALMOND "{FFEBCD}"
  340. #define BISQUE "{FFE4C4}"
  341. #define NAVAJO_WHITE "{FFDEAD}"
  342. #define WHEAT "{F5DEB3}"
  343. #define BURLY_WOOD "{DEB887}"
  344. #define TAN "{D2B48C}"
  345. #define ROSY_BROWN "{BC8F8F}"
  346. #define SANDY_BROWN "{F4A460}"
  347. #define DARK_GOLDENROD "{B8860B}"
  348. #define PERU "{CD853F}"
  349. #define SADDLE_BROWN "{8B4513}"
  350. #define SIENNA "{A0522D}"
  351. #define BROWN "{A52A2A}"
  352. #define MAROON "{800000}"
  353.  
  354. //different embeded color shades of Grey
  355. #define WHITE "{FFFFFF}"
  356. #define GAINSBORO "{DCDCDC}"
  357. #define LIGHT_GREY "{D3D3D3}"
  358. #define SILVER "{C0C0C0}"
  359. #define DARK_GRAY "{A9A9A9}"
  360. #define GRAY "{808080}"
  361. #define DIM_GRAY "{696969}"
  362. #define LIGHT_SLATE_GRAY "{778899}"
  363. #define SLATE_GRAY "{708090}"
  364. #define DARK_SLATE_GRAY "{2F4F4F}"
  365. #define BLACK "{000000}"
  366.  
  367. //HEX colors
  368. //different color shades of red
  369. #define COLOR_INDIAN_RED 0xCD5C5CFF
  370. #define COLOR_LIGHT_CORAL 0xF08080FF
  371. #define COLOR_SALMON 0xFA8072FF
  372. #define COLOR_DARK_SALMON 0xE9967AFF
  373. #define COLOR_LIGHT_SALMON 0xFFA07AFF
  374. #define COLOR_CRIMSON 0xDC143CFF
  375. #define COLOR_RED 0xFF0000FF
  376. #define COLOR_FIREBRICK 0xB22222FF
  377. #define COLOR_DARK_RED 0x8B0000FF
  378.  
  379. //different color shades of pink
  380. #define COLOR_PINK 0xFFC0CBFF
  381. #define COLOR_LIGHT_PINK 0xFFB6C1FF
  382. #define COLOR_HOT_PINK 0xFF69B4FF
  383. #define COLOR_DEEP_PINK 0xFF1493FF
  384. #define COLOR_MEDIUM_VIOLET_RED 0xC71585FF
  385. #define COLOR_PALE_VIOLET_RED 0xDB7093FF
  386.  
  387. //different color shades of Orange
  388. #define COLOR_CORAL 0xFF7F50FF
  389. #define COLOR_TOMATO 0xFF6347FF
  390. #define COLOR_ORANGE_RED 0xFF4500FF
  391. #define COLOR_DARK_ORANGE 0xFF8C00FF
  392. #define COLOR_ORANGE 0xFFA500FF
  393.  
  394. //different color shades of Yellow
  395. #define COLOR_GOLD 0xFFD700FF
  396. #define COLOR_YELLOW 0xFFFF00FF
  397. #define COLOR_LIGHT_YELLOW 0xFFFFE0FF
  398. #define COLOR_LEMON_CHIFFON 0xFFFACDFF
  399. #define COLOR_LIGHT_GOLDENROD_YELLOW 0xFAFAD2FF
  400. #define COLOR_PAPAYAWHIP 0xFFEFD5FF
  401. #define COLOR_MOCCASIN 0xFFE4B5FF
  402. #define COLOR_PEACHPUFF 0xFFDAB9FF
  403. #define COLOR_PALE_GOLDENROD 0xEEE8AAFF
  404. #define COLOR_KHAKI 0xF0E68CFF
  405. #define COLOR_DARK_KHAKI 0xBDB76BFF
  406.  
  407. //different color shades of Purple
  408. #define COLOR_LAVENDER 0xE6E6FAFF
  409. #define COLOR_THISTLE 0xD8BFD8FF
  410. #define COLOR_PLUM 0xDDA0DDFF
  411. #define COLOR_VIOLET 0xEE82EEFF
  412. #define COLOR_ORCHID 0xDA70D6FF
  413. #define COLOR_FUCHSIA 0xFF00FFFF
  414. #define COLOR_MAGENTA 0xFF00FFFF
  415. #define COLOR_MEDIUM_ORCHID 0xBA55D3FF
  416. #define COLOR_MEDIUM_PURPLE 0x9370DBFF
  417. #define COLOR_AMETHYST 0x9966CCFF
  418. #define COLOR_BLUE_VIOLET 0x8A2BE2FF
  419. #define COLOR_DARK_VIOLET 0x9400D3FF
  420. #define COLOR_DARK_ORCHID 0x9932CCFF
  421. #define COLOR_DARK_MAGENTA 0x8B008BFF
  422. #define COLOR_PURPLE 0x800080FF
  423. #define COLOR_INDIGO 0x4B0082FF
  424. #define COLOR_SLATE_BLUE 0x6A5ACDFF
  425. #define COLOR_DARK_SLATE_BLUE 0x483D8BFF
  426. #define COLOR_MEDIUM_SLATEBLUE 0x7B68EEFF
  427.  
  428. //different color shades of Green
  429. #define COLOR_GREEN_YELLOW 0xADFF2FFF
  430. #define COLOR_CHARTREUSE 0x7FFF00FF
  431. #define COLOR_LAWN_GREEN 0x7CFC00FF
  432. #define COLOR_LIME 0x00FF00FF
  433. #define COLOR_LIME_GREEN 0x32CD32FF
  434. #define COLOR_PALE_GREEN 0x98FB98FF
  435. #define COLOR_LIGHT_GREEN 0x90EE90FF
  436. #define COLOR_MEDIUM_SPRING_GREEN 0x00FA9AFF
  437. #define COLOR_SPRING_GREEN 0x00FF7FFF
  438. #define COLOR_MEDIUM_SEA_GREEN 0x3CB371FF
  439. #define COLOR_SEA_GREEN 0x2E8B57FF
  440. #define COLOR_FOREST_GREEN 0x228B22FF
  441. #define COLOR_GREEN 0x008000FF
  442. #define COLOR_DARK_GREEN 0x006400FF
  443. #define COLOR_YELLOW_GREEN 0x9ACD32FF
  444. #define COLOR_OLIVED_RAB 0x6B8E23FF
  445. #define COLOR_OLIVE 0x808000FF
  446. #define COLOR_DARK_OLIVE_GREEN 0x556B2FFF
  447. #define COLOR_MEDIUM_AQUA_MARINE 0x66CDAAFF
  448. #define COLOR_DARK_SEA_GREEN 0x8FBC8FFF
  449. #define COLOR_LIGHT_SEA_GREEN 0x20B2AAFF
  450. #define COLOR_DARK_CYAN 0x008B8BFF
  451. #define COLOR_TEAL 0x008080FF
  452.  
  453. //different color shades of Blue/Cyan
  454. #define COLOR_AQUA 0x00FFFFFF
  455. #define COLOR_CYAN 0x00FFFFFF
  456. #define COLOR_LIGHT_CYAN 0xE0FFFFFF
  457. #define COLOR_PALE_TURQUOISE 0xAFEEEEFF
  458. #define COLOR_AQUA_MARINE 0x7FFFD4FF
  459. #define COLOR_TURQUOISE 0x40E0D0FF
  460. #define COLOR_MEDIUM_TURQUOISE 0x48D1CC
  461. #define COLOR_DARK_TURQUOISE 0x00CED1FF
  462. #define COLOR_CADET_BLUE 0x5F9EA0FF
  463. #define COLOR_STEEL_BLUE 0x4682B4FF
  464. #define COLOR_LIGHT_STEEL_BLUE 0xB0C4DEFF
  465. #define COLOR_POWDER_BLUE 0xB0E0E6FF
  466. #define COLOR_LIGHT_BLUE 0xA9C4E4FF
  467. #define COLOR_SKY_BLUE 0x87CEEBFF
  468. #define COLOR_LIGHT_SKYBLUE 0x87CEFAFF
  469. #define COLOR_DEEP_SKY_BLUE 0x00BFFFFF
  470. #define COLOR_DODGER_BLUE 0x1E90FFFF
  471. #define COLOR_CORN_FLOWER_BLUE 0x6495EDFF
  472. #define COLOR_MEDIUMSLATE_BLUE 0x7B68EEFF
  473. #define COLOR_ROYAL_BLUE 0x4169E1FF
  474. #define COLOR_BLUE 0x0000FFFF
  475. #define COLOR_MEDIUM_BLUE 0x0000CDFF
  476. #define COLOR_DARK_BLUE 0x00008BFF
  477. #define COLOR_NAVY 0x000080FF
  478. #define COLOR_MIDNIGHT_BLUE 0x191970FF
  479.  
  480. //different color shades of Brown
  481. #define COLOR_CORN_SILK 0xFFF8DCFF
  482. #define COLOR_BLANCHED_ALMOND 0xFFEBCDFF
  483. #define COLOR_BISQUE 0xFFE4C4FF
  484. #define COLOR_NAVAJO_WHITE 0xFFDEADFF
  485. #define COLOR_WHEAT 0xF5DEB3FF
  486. #define COLOR_BURLY_WOOD 0xDEB887FF
  487. #define COLOR_TAN 0xD2B48CFF
  488. #define COLOR_ROSY_BROWN 0xBC8F8FFF
  489. #define COLOR_SANDY_BROWN 0xF4A460FF
  490. #define COLOR_DARK_GOLDENROD 0xB8860BFF
  491. #define COLOR_PERU 0xCD853FFF
  492. #define COLOR_SADDLE_BROWN 0x8B4513FF
  493. #define COLOR_SIENNA 0xA0522DFF
  494. #define COLOR_BROWN 0xA52A2AFF
  495. #define COLOR_MAROON 0x800000FF
  496.  
  497. //different color shades of Grey
  498. #define COLOR_WHITE 0xFFFFFFFF
  499. #define COLOR_GAINSBORO 0xDCDCDCFF
  500. #define COLOR_LIGHT_GREY 0xD3D3D3FF
  501. #define COLOR_SILVER 0xC0C0C0FF
  502. #define COLOR_DARK_GRAY 0xA9A9A9FF
  503. #define COLOR_GRAY 0x808080FF
  504. #define COLOR_DIM_GRAY 0x696969FF
  505. #define COLOR_LIGHT_SLATE_GRAY 0x778899FF
  506. #define COLOR_SLATE_GRAY 0x708090FF
  507. #define COLOR_DARK_SLATE_GRAY 0x2F4F4FFF
  508. #define COLOR_BLACK 0x000000FF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement