You can use a gradient background to achieve that effect. You can add two gradient stops at the same location to get the hard line in between the colors rather than fading the colors together. In the image below, I’ve added a white gradient stop and a gray gradient stop at 50%. You can adjust the percentage to change where the colors meet.