This question already has an answer here:
I am attempting to add a logo to a metal material. Unfortunately, when I render it, it has no color.
I fed the metal shader and the logo's image texture to a mix shader. Then I used the same image texture as the fac input. It has colour in material viewport mode, but not when rendered.
Oddly, if I feed the image texture only into the fac input and not as a shader, it makes no difference to the render.
The upper 3d view is rendered, the lower is material viewport mode.