change function color