trim header and change color