Update Custom Class Color
Addon Hook
Updates a custom class color, refreshes colorStr, stores the profile value, and notifies callbacks.
NamespaceEModuleCoreLifecyclestable
E:UpdateCustomClassColor(classTag, r, g, b)Updates a custom class color, refreshes colorStr, stores the profile value, and notifies callbacks.
Parameters
Section titled “Parameters”classTag: Class token. r/g/b: Normalized color channels.
Returns
Section titled “Returns”None.
Example
Section titled “Example”E:UpdateCustomClassColor("MAGE", 0.25, 0.78, 0.92)Useful when addon options intentionally coordinate with ElvUI custom class colors.
Source: ElvUI/Game/Shared/General/API.lua:779