Fixed syntax error in two color functions