Difference between revisions of "User:Dashiva/Dye"

From Wurmpedia
Jump to navigation Jump to search
(→‎Mixing: Fade to gray)
Line 122: Line 122:
 
| 72 || 75 || 77
 
| 72 || 75 || 77
 
|}
 
|}
 +
 +
The more you mix, the more it fades to gray.
 +
Apparently the key color (in the data, blue) follows this rule: Result = avg(inputs) - 4, with some rounding in place.
 +
The apparent rule for the non-key colors is Result = avg(inputs) + 3, again with rounding in place.
 +
 +
=== Non basic colors ===
 +
 +
We can get purple by mixing blue and red dye. What if we mix two purple dyes? If the highest color component is considered the key color and the others non-key, it will tend to balance the two high components (blue and red) with a slower fade to gray while raising the non-key color to gray level with the normal speed.
 +
: It's more likely that any color average after mixing that is above 155 gets the -4 penalty and any color average below 155 gets the +3 bonus.

Revision as of 14:24, 14 July 2007

Dye QL and color correlation.

Green

Color QL Red Green Blue
Green 2.33 98 157 98
Green 11.12 89 166 89
Green 15.24 85 170 85
Green 16.65 84 171 84
Green 20.10 80 175 80
Green 20.73 80 175 80
Green 22.61 78 177 78
Green 25.06 75 180 75
Green 25.23 75 180 75
Green 28.55 72 183 72

Initial hypothesis for green: G = 155+QL and RB = 100-QL, for limit value (0,255,0) at 100 QL.

Blue

Color QL Red Green Blue
Blue 3.58 97 97 158
Blue 5.98 95 95 160
Blue 6.34 94 94 161
Blue 8.95 92 92 163
Blue 9.39 91 91 164
Blue 11.08 89 89 166
Blue 11.22 89 89 166
Blue 12.77 88 88 167
Blue 15.82 85 85 170
Blue 17.77 83 83 172
Blue 19.11 81 81 174
Blue 21.57 79 79 176
Blue 25.64 75 75 180
Blue 30.80 70 70 185
Blue 31.23 69 69 186
Blue 40.64 60 60 195
Blue 41.76 59 59 196

Initial hypothesis for blue: Same as green, but with different primary.

Red

Color QL Red Green Blue
Red 27.98 182 73 73

Again, same as for green.

Mixing

Red Green Blue
A B Result A B Result A B Result
97 97 99 97 97 99 158 158 155
94 94 97 94 94 97 161 161 157
92 91 94 92 91 94 163 164 159
89 89 92 89 89 92 166 166 162
83 81 84 83 81 84 172 174 169
75 80 80 75 80 80 180 175 174
70 70 74 70 70 74 185 185 181
72 75 77 183 180 177 72 75 77

The more you mix, the more it fades to gray. Apparently the key color (in the data, blue) follows this rule: Result = avg(inputs) - 4, with some rounding in place. The apparent rule for the non-key colors is Result = avg(inputs) + 3, again with rounding in place.

Non basic colors

We can get purple by mixing blue and red dye. What if we mix two purple dyes? If the highest color component is considered the key color and the others non-key, it will tend to balance the two high components (blue and red) with a slower fade to gray while raising the non-key color to gray level with the normal speed.
: It's more likely that any color average after mixing that is above 155 gets the -4 penalty and any color average below 155 gets the +3 bonus.