Golden Lion Dye has bad data in colors API
Soulweaver.2190:
See title. https://api.guildwars2.com/v2/colors/1338 responds with:
{
"id":1338,
"name":"Golden Lion",
"base_rgb":[
128,
26,
26
],
"cloth":{
"brightness":4,
"contrast":1.28906,
"hue":40,
"saturation":1.48438,
"lightness":1.99219,
"rgb":[
195,
118,
0
]
},
"leather":{
"brightness":4,
"contrast":1.28906,
"hue":40,
"saturation":1.48438,
"lightness":1.99219,
"rgb":[
195,
118,
0
]
},
"metal":{
"brightness":4,
"contrast":1.28906,
"hue":40,
"saturation":1.48438,
"lightness":1.99219,
"rgb":[
195,
118,
0
]
},
"item":68673,
"categories":[
"Gray",
"Vibrant",
"Starter"
]
}
It seems to be mostly correct, except for the categories - it is a yellow spectrum Black Lion dye kit dye, not a gray starter dye. :p
Lawton Campbell.8517:
Looks like it’s a case of content being broken and my code having subtly different behavior from the client code. I’ll have a fix out probably in the release after HoT. Thanks for the heads up <3
Soulweaver.2190:
No problem and thanks for the response!