View Single Post
06/18/21, 09:17 AM   #3
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 181
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.

Last edited by ZOS_DanBatson : 06/18/21 at 09:19 AM.
  Reply With Quote