>>531504679
Like this? You can just use a gradient tool and set your primary colors at 0% - 50% - 100% respectively.