Returns color values for use in displaying items of a given quality. Color components are floating-point values between 0 (no component) and 1 (full intensity of the component).
Prior to 4.2 the hexColor return was prefixed with |c now it is just the hex codes for the color.
See also Item functions.
quality- An numeric item quality (rarity) value (
redComponent- Red component of the color (
greenComponent- Green component of the color (
blueComponent- Blue component of the color (
hexColor- Color value of a
colorStringfor formatting text with the color (
GetItemQualityColor(4) -- returns (approximately) 0.6392, 0.2078, 0,9333, "ffa335ee"