[API Suggestion] Colors API

#1 - Sept. 25, 2013, 1:30 a.m.
Blizzard Post

Would it be possible to assign the color tone and materials for each color to colors.json?

126: {
	name: "Hot Pink",
	tone: "red", //red, orange, yellow, green, blue, purple, brown, gray
	set: "rare", //starter, common, uncommon, rare, Flame and Frost, Tequatl Rising
	material: "vibrant",//vibrant, natural leather, natural metallic
	base_rgb: [128,26,26],
	cloth: {
		...
	},
	...
},
#4 - Sept. 25, 2013, 6:46 p.m.
Blizzard Post

Hi,

I’m not familiar with this, but I want to help if possible. From my brief research, can’t ‘hue’ be computed from the RGB values?

As for material: what are you referring to when you say ‘vibrant’? Is there some in-game concept that I can cross reference for this?

I’ll inquire into the ‘set’ suggestion. My initial look indicates we probably can’t provide much detail there.

Thanks!