> For the complete documentation index, see [llms.txt](https://docs.expression-library.bearstudios.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.expression-library.bearstudios.co.uk/adding-custom-controls/custom-functions/addcolorcontrol.md).

# 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
