loading image and text - color issue

Hey guys,

I am trying to load a png on the screen to use as a background and put some text on it. When I give the text color. it spreads all over the image. The only solution that I could came up with was to give the image a color with an alpha of a 100% to achieve transparency. Is there a cleaner way to not have the picture take the color, by the way the picture was loaded in a class. Here is the code, any suggestions are more than welcome:

  
  
    ofSetColor(255, 255, 255,100);  
    _backGround.draw();  
      
    //Text receipe description  
    ofSetColor(250,250,250);     
    franklinBook14.drawString(typeStr, 647, 324);  
  
  

this was solved off-forum; the fix was that alpha ranges from 0-255 rather than 0-100 :slight_smile: