I am using primefaces(3.0) scheduler component.
http://www.primefaces.org/showcase-labs/ui/schedule.jsf
As we can see here there there are some events create
After setting styleClass in code, coloring did not work for me in PrimeFaces 5.2 as described above. Finally I got it working with the important modifier:
a.emp1 { background: #D0525D !important; border-color: #932c39!important; }