PIC18F1320 with 4 separate PWM channels and C18 compiler for an RGB LED
Note that the PIC18F1320 still has only a single PWM module. This means you cannot have 3 independent PWM output signals. The '4 output signals' in the manual means that the PWM module can drive all 4 legs of a H-bridge with the proper timing - but the depend on each other (see figure 15-5 in the data sheet).

Regarding the register descriptions: CCP1M&lt;3:2> means the bits 2 and 3 of the CCP1M select bits (these are actually 4 bits, but only the upper two ones are of interest there). The easiest way to set these registers is by using the register descriptions:

CCP1CONbits.CCP1M=42;


You can also use CCP1CON directly, but then you write all bits of this register directly.