I\'d like to create a rectangle shape with two solid colors (horizontally) to achieve something like this:
this will surely draw the shape as per your Requirement :
Adjust size of as you need !