worked like this :
Code:
function PerfectRaid:GetColoredName(unit, idx)
local group = ""
return string.format("%s|cFF%02x%02x%02x%s|r", group, 255, 255, 255, UnitName(unit) or "Unknown")
end
thanks, i now have the perfect raid / party frames
edit : and they look like this :
http://paradoxguild.net/gogu/gogusrl-ui.jpg
thanks again for the quick replies and the great addon.