Roth UI (Diablo)
How do I change healthbar colors
oUF_Diablo (unitframes) and rDiabloPlates (nameplates) have a colorswitcher.
The colorswitcher handles the color for the healthbar and the healthbar background. You can define your own color in RGBA. (red, green, blue, alpha).

To change the colorswitcher of the unitframes open oUF_Diablo/config.lua and change the RGBA values of the colorswitcher variable.
To change the colorswitcher of the nameplates open rDiabloPlates/core.lua and change the RGBA values of the colorswitcher variable.

Example 1:
lua Code:
  1. cfg.colorswitcher = {
  2.   bright              = { r = 1, g = 0, b = 0, a = 0.9, },          -- the bright color
  3.   dark                = { r = 0.15, g = 0.15, b = 0.15, a = 1, },   -- the dark color
  4.   classcolored        = true,   -- true   -> override the bright color with the unit specific class color
  5.   useBrightForeground = true,  -- true   -> use bright color in foreground and dark color in background
  6.                                 -- false  -> use dark color in foreground and bright color in background
  7. }
Dark background, bright foreground in class/factioncolors.

Example 2:
lua Code:
  1. cfg.colorswitcher = {
  2.   bright              = { r = 1, g = 0, b = 0, a = 0.9, },          -- the bright color
  3.   dark                = { r = 0.15, g = 0.15, b = 0.15, a = 1, },   -- the dark color
  4.   classcolored        = true,   -- true   -> override the bright color with the unit specific class color
  5.   useBrightForeground = false,  -- true   -> use bright color in foreground and dark color in background
  6.                                 -- false  -> use dark color in foreground and bright color in background
  7. }
Bright background, dark foreground. Background in class/factioncolors.

Example 3:
lua Code:
  1. cfg.colorswitcher = {
  2.   bright              = { r = 1, g = 0, b = 0, a = 0.9, },          -- the bright color
  3.   dark                = { r = 0.15, g = 0.15, b = 0.15, a = 1, },   -- the dark color
  4.   classcolored        = false,   -- true   -> override the bright color with the unit specific class color
  5.   useBrightForeground = false,  -- true   -> use bright color in foreground and dark color in background
  6.                                 -- false  -> use dark color in foreground and bright color in background
  7. }
Default setting. Red background, dark foreground.

Castbar is pretty similar. Every single castbar has it's own color values that can be edited in oUF_Diablo/config.lua