View Single Post
  #961  
Old 04-07-2011, 02:16 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
okay I think I've mapped all the colors correctly to their HEX RGB HSV and HSL values (See attachment).

Here's a map of codes to names.

PHP Code:
  0 white
  1 
yellow
  2 
orange
  3 
pink
  4 
red
  5 
darkred
  6 
lightgreen
  7 
green
  8 
darkgreen
  9 
lightblue
 10 
blue
 11 
darkblue
 12 
brown
 13 
cynober
 14 
purple
 15 
darkpurple
 16 
lightgray
 17 
gray
 18 
black
 19 
transparent
 20 
aliceblue
 21 
antiquewhite
 22 
aqua
 23 
aquamarine
 24 
azure
 25 
beige
 26 
bisque
 27 
black
 28 
blanchedalmond
 29 
blue
 30 
blueviolet
 31 
brown
 32 
burlywood
 33 
cadetblue
 34 
chartreuse
 35 
chocolate
 36 
coral
 37 
cornflowerblue
 38 
cornsilk
 39 
crimson
 40 
cynober
 41 
darkblue
 42 
darkcyan
 43 
darkgoldenrod
 44 
darkgray
 45 
darkgrey
 46 
darkgreen
 47 
darkkhaki
 48 
darkmagenta
 49 
darkolivegreen
 50 
darkorange
 51 
darkorchid
 52 
darkred
 53 
darksalmon
 54 
darkseagreen
 55 
darkslateblue
 56 
darkslategray
 57 
darkslategrey
 58 
darkturquoise
 59 
darkviolet
 60 
deeppink
 61 
deepskyblue
 62 
dimgray
 63 
dimgrey
 64 
dodgerblue
 65 
feldspar
 66 
firebrick
 67 
floralwhite
 68 
forestgreen
 69 
fuchsia
 70 
gainsboro
 71 
ghostwhite
 72 
gold
 73 
goldenrod
 74 
gray
 75 
green
 76 
greenyellow
 77 
grey
 78 
honeydew
 79 
hotpink
 80 
indianred "Incorrect color name? Won't set with name, but will with 80."
 
81 indigo
 82 
ivory
 83 
khaki
 84 
lavender
 85 
lavenderblush
 86 
lawngreen
 87 
lemonchiffon
 88 
lightblue
 89 
lightcoral
 90 
lightcyan
 91 
lightgoldenrodyellow
 92 
lightgray
 93 
lightgrey
 94 
lightgreen
 95 
lightpink
 96 
lightsalmon
 97 
lightseagreen
 98 
lightskyblue
 99 
lightslateblue
100 
lightslategray
101 
lightslategrey
102 
lightsteelblue
103 
lightyellow
104 
lime
105 
limegreen
106 
linen
107 
magenta
108 
maroon
109 
mediumaquamarine
110 
mediumblue
111 
mediumorchid
112 
mediumpurple
113 
mediumseagreen
114 
mediumslateblue
115 
mediumspringgreen
116 
mediumturquoise
117 
mediumvioletred
118 
midnightblue
119 
mintcream
120 
mistyrose
121 
moccasin
122 
navajowhite
123 
navy
124 
oldlace
125 
olive
126 
olivedrab
127 
orange
128 
orangered
129 
orchid
130 
palegoldenrod
131 
palegreen
132 
paleturquoise
133 
palevioletred
134 
papayawhip
135 
peachpuff
136 
peru
137 
pink
138 
plum
139 
powderblue
140 
purple
141 
red
142 
rosybrown
143 
royalblue
144 
saddlebrown
145 
salmon
146 
sandybrown
147 
seagreen
148 
seashell
149 
sienna
150 
silver
151 
skyblue
152 
slateblue
153 
slategray
154 
slategrey
155 
snow
156 
springgreen
157 
steelblue
158 
tan
159 
teal
160 
thistle
161 
tomato
162 
turquoise
163 
violet
164 
violetred
165 
wheat
166 
white
167 
whitesmoke
168 
yellow
169 
yellowgreen 
Here's also a nice function for a class.
contains Formal name, core name, HEX, RGB, HSL, HSV. Here's an example of it withe the old palette. Attached has all body colors
PHP Code:
// {               NAME,              CORE-NAME,       HEX, { RED, GREEN, BLUE}, { HUE, { SAT, LIGHT}, { SAT, VALUE}}} 

{               "White",                "white""#FFFFFF", { 1.001.001.00}, {   0, { 0.001.00}, { 0.001.00}}},
{              
"Yellow",               "yellow""#FFFF00", { 1.001.000.00}, {  60, { 1.000.50}, { 1.001.00}}},
{              
"Orange",               "orange""#FFA500", { 1.000.650.00}, {  39, { 1.000.50}, { 1.001.00}}},
{                
"Pink",                 "pink""#FFC0CB", { 1.000.750.80}, { 350, { 1.000.88}, { 0.251.00}}},
{                 
"Red",                  "red""#FF0000", { 1.000.000.00}, {   0, { 1.000.50}, { 1.001.00}}},
{            
"Dark Red",              "darkred""#8B0000", { 0.550.000.00}, {   0, { 1.000.27}, { 1.000.55}}},
{         
"Light Green",           "lightgreen""#90EE90", { 0.560.930.56}, { 120, { 0.730.75}, { 0.390.93}}},
{               
"Green",                "green""#00FF00", { 0.001.000.00}, { 120, { 1.000.50}, { 1.001.00}}},
{          
"Dark Green",            "darkgreen""#006400", { 0.000.390.00}, { 120, { 1.000.20}, { 1.000.39}}},
{          
"Light Blue",            "lightblue""#ADD8E6", { 0.680.850.90}, { 195, { 0.530.79}, { 0.250.90}}},
{                
"Blue",                 "blue""#0000FF", { 0.000.001.00}, { 240, { 1.000.50}, { 1.001.00}}},
{           
"Dark Blue",             "darkblue""#00008B", { 0.000.000.55}, { 240, { 1.000.27}, { 1.000.55}}},
{               
"Brown",                "brown""#A52A2A", { 0.650.160.16}, {   0, { 0.590.41}, { 0.750.65}}},
{                
"Cyan",              "cynober""#00FFFF", { 0.001.001.00}, { 180, { 1.000.50}, { 1.001.00}}},
{              
"Purple",               "purple""#A020F0", { 0.630.130.94}, { 277, { 0.870.53}, { 0.870.94}}},
{         
"Dark Purple",           "darkpurple""#800080", { 0.500.000.50}, { 300, { 1.000.25}, { 1.000.50}}},
{          
"Light Gray",            "lightgray""#D3D3D3", { 0.830.830.83}, {   0, { 0.000.83}, { 0.000.83}}},
{                
"Gray",                 "gray""#BEBEBE", { 0.750.750.75}, {   0, { 0.000.75}, { 0.000.75}}}, 
{               
"Black",                "black""#000000", { 0.000.000.00}, {   0, { 0.000.00}, { 0.000.00}}},
{         
"Transparent",          "transparent""#000000", { 0.000.000.00}, {   0, { 0.000.00}, { 0.000.00}}}, 
(too big to post)

Also here's a 17x10 palette table of all the colors ( 0 - white is in the top left, 169 - Yellow Green is in the bottom right)
Attached Thumbnails
Click image for larger version

Name:	graal_bodyPalette.png
Views:	889
Size:	1.4 KB
ID:	52677  
Attached Files
File Type: txt graal_BodyPalette.txt (21.0 KB, 835 views)
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!

Last edited by MrOmega; 04-07-2011 at 04:31 AM..
Reply With Quote