Color Chinese character on existing deck

Hi,
i do have a HSK deck for chinese which i like a lot. Unfortantly it does not have colored characters. Is there a way to run a script to get the colors for all of the characters. I saw some add ons who are doing this for new cards. I want to run this on the deck i have already.

thanks