Condition : Touching Color

Is there a way i can sense that if a sprite is touching certian color then do some actions .
And The certian color will be the color we r going to chose from editor

There is an extension for reading a pixels color. I believe you could use that for what you are looking for.