Added description for color functions
Replaced echo with printf
Made trim also print the final string
Changed `` for $()
chaged back some of the printf stuff