How can I partially change the color of an object?

Thank you, you’re a life saver!