Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rating: Thread Rating: 23 votes, 4.83 average. Display Modes
Prev Previous Post   Next Post Next
  #11  
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.00, 1.00, 1.00}, {   0, { 0.00, 1.00}, { 0.00, 1.00}}},
{              
"Yellow",               "yellow", "#FFFF00", { 1.00, 1.00, 0.00}, {  60, { 1.00, 0.50}, { 1.00, 1.00}}},
{              
"Orange",               "orange", "#FFA500", { 1.00, 0.65, 0.00}, {  39, { 1.00, 0.50}, { 1.00, 1.00}}},
{                
"Pink",                 "pink", "#FFC0CB", { 1.00, 0.75, 0.80}, { 350, { 1.00, 0.88}, { 0.25, 1.00}}},
{                 
"Red",                  "red", "#FF0000", { 1.00, 0.00, 0.00}, {   0, { 1.00, 0.50}, { 1.00, 1.00}}},
{            
"Dark Red",              "darkred", "#8B0000", { 0.55, 0.00, 0.00}, {   0, { 1.00, 0.27}, { 1.00, 0.55}}},
{         
"Light Green",           "lightgreen", "#90EE90", { 0.56, 0.93, 0.56}, { 120, { 0.73, 0.75}, { 0.39, 0.93}}},
{               
"Green",                "green", "#00FF00", { 0.00, 1.00, 0.00}, { 120, { 1.00, 0.50}, { 1.00, 1.00}}},
{          
"Dark Green",            "darkgreen", "#006400", { 0.00, 0.39, 0.00}, { 120, { 1.00, 0.20}, { 1.00, 0.39}}},
{          
"Light Blue",            "lightblue", "#ADD8E6", { 0.68, 0.85, 0.90}, { 195, { 0.53, 0.79}, { 0.25, 0.90}}},
{                
"Blue",                 "blue", "#0000FF", { 0.00, 0.00, 1.00}, { 240, { 1.00, 0.50}, { 1.00, 1.00}}},
{           
"Dark Blue",             "darkblue", "#00008B", { 0.00, 0.00, 0.55}, { 240, { 1.00, 0.27}, { 1.00, 0.55}}},
{               
"Brown",                "brown", "#A52A2A", { 0.65, 0.16, 0.16}, {   0, { 0.59, 0.41}, { 0.75, 0.65}}},
{                
"Cyan",              "cynober", "#00FFFF", { 0.00, 1.00, 1.00}, { 180, { 1.00, 0.50}, { 1.00, 1.00}}},
{              
"Purple",               "purple", "#A020F0", { 0.63, 0.13, 0.94}, { 277, { 0.87, 0.53}, { 0.87, 0.94}}},
{         
"Dark Purple",           "darkpurple", "#800080", { 0.50, 0.00, 0.50}, { 300, { 1.00, 0.25}, { 1.00, 0.50}}},
{          
"Light Gray",            "lightgray", "#D3D3D3", { 0.83, 0.83, 0.83}, {   0, { 0.00, 0.83}, { 0.00, 0.83}}},
{                
"Gray",                 "gray", "#BEBEBE", { 0.75, 0.75, 0.75}, {   0, { 0.00, 0.75}, { 0.00, 0.75}}}, 
{               
"Black",                "black", "#000000", { 0.00, 0.00, 0.00}, {   0, { 0.00, 0.00}, { 0.00, 0.00}}},
{         
"Transparent",          "transparent", "#000000", { 0.00, 0.00, 0.00}, {   0, { 0.00, 0.00}, { 0.00, 0.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:	950
Size:	1.4 KB
ID:	52677  
Attached Files
File Type: txt graal_BodyPalette.txt (21.0 KB, 889 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
 

Tags
graal v6, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.