<p>You'll have to make as many duplicates of the layer as there are colours. Apply the appropriate key to each copy, and place the layer you want it to reveal beneath it. On the revealed layer use a track matte, and set it to &quot;Alpha Inverted…&quot;. This will hide the keyed layer and use its alpha channel (transparency) to reveal the layer underneath it, but only in the transparent areas.</p>
<p>Your layer stack will look like this, but for any areas not in any of the keys you'll also need a copy of the original layer at the <em>bottom</em> of the stack:</p>
<p><a href="https://i.sstatic.net/vgFiN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vgFiN.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-02-03T00:03:34.120Z
2021-02-03T00:03:34.120Z
stib
<p>In After Effects, I have an image layer that consists a few colors. Underneath I have several other layers (textures). I want to replace each color of the image
above with one of the textures below.
Is there an easy way to apply multiple color keys to this one image - and to link each color key to a different texture layer?</p>
<p>Thank you</p>

<after-effects><greenscreen><color><chromakey>
Applying different color keys to one layer in AE
yog
# Applying different color keys to one layer in AE

(Asked by: username_0 on 2021-01-30)

In After Effects, I have an image layer that consists a few colors. Underneath I have several other layers (textures). I want to replace each color of the image
above with one of the textures below.
Is there an easy way to apply multiple color keys to this one image - and to link each color key to a different texture layer?

Thank you

**Tags:** after-effects, greenscreen, color, chromakey


---

## 1 answers

### Answer by username_1 on 2021-02-03. Score: 1

You'll have to make as many duplicates of the layer as there are colours. Apply the appropriate key to each copy, and place the layer you want it to reveal beneath it. On the revealed layer use a track matte, and set it to "Alpha Inverted…". This will hide the keyed layer and use its alpha channel (transparency) to reveal the layer underneath it, but only in the transparent areas.

Your layer stack will look like this, but for any areas not in any of the keys you'll also need a copy of the original layer at the *bottom* of the stack:

[![enter image description here](https://i.sstatic.net/vgFiN.png)](https://i.sstatic.net/vgFiN.png)


---

