Alex Kessling - Motion Wiki
  • Hello
  • ⚒️After Effects
    • ⌨️Ae-Expressions
      • ™️Branding
      • 📂Dumping Ground
      • 🏞️Secondary Animation
      • ⚖️Numbers
      • 🖨️Display Value
      • 🌈Color
      • 🐛Debugging
      • 🦸‍♀️Useful
  • 📚Learning-Motion Design
    • 🪶Tutorial Sites
  • Projects
Powered by GitBook
On this page
  1. After Effects
  2. Ae-Expressions

Branding

Help you create brand elements and guides

PreviousAe-ExpressionsNextDumping Ground

Last updated 2 years ago

-Display Parented Character Style

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

add to source text and perant to any text layer. add fitted box:

⚒️
⌨️
™️
https://www.youtube.com/watch?v=Bse4pmFWOj4