icon:SetModel() with colors?

Is there any way to use a spawn icon with color and material applied on the model when displaying it? I’m trying to do an NPC shop, and it spawns the entity and everything, but it actually sells them in colors so… Any idea?

Looking at the code of the DModelPanel, I could guess this:
icon.Entity:SetColor()
icon.Entity:SetMaterial()