How to change the palette like this picture?

Thank you for your answer. :grinning: