addColorControl()

addColorControl('thisLayer/master','name','hex');

thisLayer / master

thisLayer referrers to the layer itself master referrers to the master layer in the comp

name

name referrers to the name you would like to give the effect

hex

hex referrers to the value of the effect: a hex colour

Last updated