adding palette in the border color