i found the error i had.
haste had changed the ColorGardient function into the oUF core files.
the old way i used some month was this:
Lua Code:
local r, g, b = oUFTukui.ColorGradient( min / max, unpack( C["unitframes"]["gradient"] ) )
the first value of the function was value X / value Y
the new function said this:
Lua Code:
local r, g, b = oUFTukui.ColorGradient( min, max, unpack( C["unitframes"]["gradient"] ) )
now i have to put in both variables into the function instead of one single variable.