How to randomize colors on instanced objects without realizing them?

Maybe you could store the attribute to the realized geometry with geometrynodes with this addon