bar.value:SetFormattedText("|cff%02x%02x%02x%d%%|r (%s)", r*255, g*255, b*255, (min-max), ShortValue(max))