It is as Martin and Dwayne say. You have to change the “viewport display” in order for the color to show in the viewport. Keep in mind that is for the viewport, so what you set there wont show in the render. If you want those colors to match when its time to make a render, you can just copy paste the color to the base color render slot.