ReubinAuthor / ClassicPlatesPlus

ClassicPlates Plus is an addon that adds additional features and new Classic-themed visuals to nameplates.
Other
7 stars 1 forks source link

[Request] ARGB to HEX colour code conversion #7

Open P1xellat3d opened 4 months ago

P1xellat3d commented 4 months ago

Hi there, I am using your addon on the Cataclysm classic client, which is not officially supported but seems to work still.

The only part that doesn't work is the settings menu, which I can get around by editing the ClassicPlatesPlus.lua file in the WTF folder.

Question that I have is - you have the colour picker for certain things (e.g. threat warning) set to use values of a,r,g and b, but they don't seem to be traditional ARGB values. Is there a conversion for these numbers to HEX or something else?

Here is part of the code that I am referring to:

["ThreatWarningColor"] = { ["a"] = 1, ["b"] = 0, ["g"] = 0.6, ["r"] = 1,

Thanks in advance!