# Branding

#### -Display Parented Character Style

```javascript
pL = thisLayer.parent;
a = " Font: "  + pL.text.sourceText.style.font;
b = "Font Size: "  + Math.round(pL.text.sourceText.style.fontSize);
c  = pL.text.sourceText.style.fillColor; 	
rC = Math.round(c[0]*255)	
gC = Math.round(c[1]*255)	
bC = Math.round(c[2]*255)
c= "R:"+rC +" G:"+gC+" B:"+bC//Print Hex Value
cH  = pL.text.sourceText.style.fillColor; 
rH = Math.round(cH[0]*255).toString(16)
gH = Math.round(cH[1]*255).toString(16)
bH = Math.round(cH[2]*255).toString(16)
cH ="#"+rH+gH+bH; a+"\n "+ b +"\n "+c +"\n "+cH

```

{% hint style="info" %}
add to source text and perant to any text layer.\
\
add fitted box:

<https://www.youtube.com/watch?v=Bse4pmFWOj4>
{% endhint %}
