Fabric material does play a role in how long the colour lasts. The more cotton or natural fibers a fabric has, the quicker it might fade. You can prolong its life by washing your garments at lower temperatures, drying them inside-out, and avoiding direct sunlight.