How not to dye the logo?

Does anyone know how to dye a piece of clothing without dying the logo?