Employing the same techniques from a previous tutorial that showed how to base extrusions based on image color values in After Effects, Mohammad Bilal extends the premise to using TrapCode Particular to emit particles from specific colors of an image.

In this tutorial I will show you how to use a color from a logo as a particle emitter

Using pats of the image set as a particle emitter, Mohammad Bilal walks through the process for creating a fire effect on certain parts of a logo. It is worthwhile to note that the practice of using images, mattes, or masks all share the same premise in computer graphics, and have their roots based on photographic processes, which Mohammad Bilal makes great use of here.
Check out the complete tutorial for Add a Particle Emitter in After Effects to Different Parts of a Logo Based on Its Color Range here.