Method for generating biodegradable textiles with vivid color and enhanced performance