A rectangle is partitioned into $6$ regions $P$, $Q$, $R$, $X$, $Y$, $Z$ as shown. Each region is to be painted a solid color---red, orange, yellow, or blue---so that regions that touch are painted different colors, and colors can be used more than once. How many different colorings are possible?