Get the manual for using the Primefaces version here . In this document, you will find how to override the styles of each component under the Skinning heading.
For instance:
Below is the skinning for p:outputLabel

If you want to change the color, I would use my css, which will apply to all p:outputLabel s.
.ui-outputlabel{ color:blue; }
If you want to change the style for only one specific p:outputLabel , you can use this as
<div class="myLabel"> <p:outputLabel value="This is Demo" /> </div>
then the CSS will look like this:
.myLabel .ui-outputlabel{ color:blue; }
source share