Support changing start and end color.