View Single Post
03/30/22, 11:04 AM   #3
ExoY
 
ExoY's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 89
If I understand your idea correctly, those functions are already provided by zos to convert rgb and hex values.

I use
Lua Code:
  1. ZO_ColorDef.FloatsToHex()
to get the hex string based on the rgb values
and I am pretty sure there is also a function for the conversion in the other direction.
(I just dont know its exact name because I have not used it so far)

Last edited by ExoY : 03/30/22 at 11:13 AM.
  Reply With Quote