title: Setting color variable
body: <p>I need to compare colors. I want to set a color into a variable and then compare that it a value obtained using getPixel.</p>
  
  <p>However, the following does not work. It seems like ImageJ does not know that the value in basecolor is a color.</p>
  
  <pre><code>  basecolor = 0xFFFFFF;
    rightpixel = getPixel(x, y);
    if (rightpixel == basecolor)  count++;   
  </code></pre>