Shorten color script by using printf.