header styles, color and grade helper functions