Class Colors lets you change class colors without breaking parts of the Blizzard UI.
It is supported by many popular addons, and also applies your custom colors to all parts of the Blizzard UI that are normally class-colored. If you want to colorize more parts of the Blizzard UI, check out yClassColors by yleaf.
Type “/classcolors” for options, or open the Class Colors panel in the Interface Options window.
Remember to check on your ticket after a few days, as I may need more information from you in order to find and fix the problem!
Class Colors is compatible with English, Deutsch , Español, Français, Português, Русский, 한국어, 简体中文, and 繁體中文 game clients.
How to make your addon support Class Colors
Basically, any time your addon would read a value from the RAID_CLASS_COLORS table, just look for a CUSTOM_CLASS_COLORS table and read from it instead.
If your addon uses a local upvalue for RAID_CLASS_COLORS, or builds a local cache table of class colors, you should update your upvalue or cache in response to the PLAYER_LOGIN event, and register for a callback to be notified when the user changes a class color.
Please do not check for the !ClassColors addon by name — eg. with GetAddOnInfo or IsAddOnLoaded — or set !ClassColors as a dependency for your addon. Use the methods described above.