title: OpenCV - Apply color mask to color image
body: <p>I'm trying to apply a color mask to a color image. The color mask is an outline that I want to apply to the color image. The mask is all black except for the outline which is pink ( BGR = <code>[180, 105,255]</code>). Oddly, I am able to apply an outline that is cyan <code>[227,230,49]</code> using the following method:</p>
  
  <p>Let the color image be <code>imgColor</code> and the cyan outline be <code>maskCyan</code>. Again, this mask is all black <code>[0,0,0]</code> except for the pixels that are part of the outline which are <code>[227,230,49]</code>. Then I can apply this over the image by just doing <code>imgColor_with_cyan_outline = cv2.bitwise_or(imgColor, maskCyan)</code>. When I do this same this with <code>maskPink</code> which has pink pixels instead of cyan using <code>imgColor_with_pink_outline = cv2.bitwise_or(imgColor, maskPink)</code> then I am returned the original image without any mask or outline applied to it. I think I'm just misunderstanding how <code>cv2.bitwise_or()</code> works, but I'm not sure.</p>
  
  <p>Is there any other way to apply a color mask to a color image?</p>