um…try this
function GetRgbFromBlip(id) local blip = id local blipcolor = GetBlipHudColour(blip) -- or GetBlipColour(blip) --not the same local r,g,b,a = GetHudColour(blipcolor) return {r,g,b,a} end