• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

More complete COLORS list

Dante_

Philosopher (Owner of Ethraeum)
Premium User
Joined
Dec 18, 2009
Messages
176
Reaction score
13
Wasn't sure where to release this but here's a more complete list of the COLOR_
It changes from 15~ colors to 83~ colors.
Just replace the old one in your lib/000-constant.lua with:

Code:
COLOR_BLACK = 0
COLOR_BLUE = 5
COLOR_BROWN = 120
COLOR_CADETBLUE = 100
COLOR_CORAL = 200
COLOR_CRIMSON = 188
COLOR_CYAN = 35
COLOR_DARKBLUE = 3
COLOR_DARKBROWN = 78
COLOR_DARKCYAN = 21
COLOR_DARKGOLD = 163
COLOR_DARKGREEN = 12
COLOR_DARKKHAKI = 171
COLOR_DARKMAGENTA = 75
COLOR_DARKOLIVEGREEN = 91
COLOR_DARKORANGE = 156
COLOR_DARKORCHID = 118
COLOR_DARKPINK = 152
COLOR_DARKPURPLE = 112
COLOR_DARKRED = 108
COLOR_DARKSEAGREEN = 135
COLOR_DARKSLATEBLUE = 87
COLOR_DARKSLATEGREY = 50
COLOR_DARKVIOLET = 113
COLOR_DEEPPINK = 189
COLOR_DEEPSKYBLUE = 29
COLOR_DODGERBLUE = 59
COLOR_FIREBRICK = 151
COLOR_FORESTGREEN = 55
COLOR_FUCHSIA = 185
COLOR_GOLD = 205
COLOR_GREY = 129
COLOR_GREEN = 18
COLOR_HOTPINK = 202
COLOR_KHAKI = 213
COLOR_LAWNGREEN = 138
COLOR_LIGHTAQUA = 64
COLOR_LIGHTBLUE = 89
COLOR_LIGHTGREEN = 66
COLOR_LIGHTORANGE = 204
COLOR_LIGHTSLATEGREY = 129
COLOR_LIGHTSTEELBLUE = 173
COLOR_LIME = 30
COLOR_LIMEGREEN = 67
COLOR_MEDIUMAQUAMARINE = 106
COLOR_MEDIUMORCHID = 161
COLOR_MEDIUMSEAGREEN = 99
COLOR_MEDIUMSLATEBLUE = 131
COLOR_MEDIUMSPRINGGREEN = 34
COLOR_MEDIUMVIOLET = 153
COLOR_MIDNIGHTBLUE = 45
COLOR_OLIVE = 126
COLOR_ORANGE = 198
COLOR_ORANGERED = 192
COLOR_ORCHID = 203
COLOR_PALEGREEN = 141
COLOR_PALEPINK = 208
COLOR_PINK = 190
COLOR_PURPLE = 154
COLOR_RED = 180
COLOR_ROSYBROWN = 165
COLOR_ROYALBLUE = 95
COLOR_SADDLEBROWN = 121
COLOR_SALMON = 201
COLOR_SANDYBROWN = 206
COLOR_SEAGREEN = 56
COLOR_SIENNA = 157
COLOR_SILVER = 172
COLOR_SKYBLUE = 21
COLOR_SLATEBLUE = 125
COLOR_SLATEGREY = 129
COLOR_SPRINGGREEN = 33
COLOR_STEELBLUE = 94
COLOR_TAN = 207
COLOR_TEAL = 143
COLOR_THISTLE = 209
COLOR_TOMATO = 194
COLOR_TURQUOISE = 107
COLOR_VIOLET = 119
COLOR_WHITE = 215
COLOR_YELLOW = 210
COLOR_YELLOWGREEN = 175
COLOR_NONE = 255
 
Tested and it seems to be working good Thanks didn't know that those colours existed
 
It's 216 safe web color palette(or whatever)
googled example image below:
black is 0
blue is 5(to the right)
white is 215 and then it just reuses this range:
216colors.png


Sending animated number example for TFS 1.0:
Code:
  local number = 210486
  local pos = {x = 326, y = 512, z = 7}
  local people = getSpectators(pos, 7, 5, false, true)
   if people == nil then
     return true
   end
   
   for i = 1, #people do
   Player(people[i]):sendTextMessage(MESSAGE_EXPERIENCE, "Something has to be here, it will be sent to server log.", pos, number, TEXTCOLOR_LIGHTBLUE)
   end
 
Last edited:
Back
Top