There are also now a bunch of utility functions on ZO_ColorDef that allow you to convert from format to format. For instance:
Code:
local r, g, b, a = ZO_ColorDef.HexToRGBA("c8ffd2")
Nyght_Status_Window_StatusBar:SetColor(r, g, b, a)
But if you're going to use the color more than once, it's usually good to make a global ZO_ColorDef instance once and use it repeatedly.