Vertically Split Section

Hi! I’m trying to split a section vertically where one side of the section is a solid color and the other side of the section is a picture. I know I can create a background but that wouldn’t create the desired effect I’m looking for. Is there code anyone has used to do this?