I saw a post about changing colors from Seaborn palette (Selecting colors from Seaborn palette), and tried to understand the codes from the answer. Here are the codes copied