WoWInterface - View Single Post - How to get a channel chat color?
View Single Post
05-26-20, 04:07 AM   #2
A Molten Giant
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 942
You can use Chat_GetChannelColor()

For example
local r, g, b = Chat_GetChannelColor(ChatTypeInfo.CHANNEL1)
The colors themselves are received from the server in UPDATE_CHAT_COLOR
  Reply With Quote