Added colour functions for API window print line