Paint it one color, let it dry fully. Then tape up where you want the first color and paint the second color. Then let dry and remove the tape.