New functions for `newbash` snippet: color, msg, error