You Can Signal!
First, add you dependencies to the manifest:
Code:
##DependsOn YouCanSignal
/libs/YouCanSignal.lua
Then, create a new signal such as:
Code:
myAddOnSignal = YouCanSignal:New("myAddOnSignal", 0)
Next, make your colors like:
Code:
COLORS = {['RED'] = {['r'] = 1.0, ['g'] = 0.0, ['b'] = 0.0}}
Finally, update the signal as:
Code:
mySignal:updateBackdrop(COLOR_CODE.RED)