* AddOn Description
Designed for use with the default UI, BBBB is an AddOn that attempts to present the "true" identity of Blizzard's existing button border texture (UI-Quickslot2) by changing the parameters of its in-game presentation.
local tr, tg, tb, ta = 1, 1, 1, 1 -- top color
local br, bg, bb, ba = .2, .2, .2, 1 -- bottom color
local auraborder = true -- make & color aura borders
* A Note On Colors
WoW uses 0-1 decimal RGB values to define color instead of the more common 0-255 RGB values. A regular 0-255 color can be converted to WoW's format by dividing each channel value by 255.
As an example, for the color Cyan (RGB 0, 255, 255), each color channel divided by 255 would return 0, 1, 1. For the Paladin class color (RGB 245, 140, 186), each color channel divided by 255 would return .96, .55, .73.
Alternately, the actual division can be made to occur within an AddOn's Lua code. The two functions below would produce the same color.