I think there were some procs in terminal to return the color-encoded strings. 
You can use those instead of hardcoding the color codes. 

Reply via email to