title: Creating a CCLayer with Transparant background color
body: <p>I am creating an iPhone application using both <code>UIKit</code> and <code>cocos2d</code>. Now, in one of my <code>ViewControllers</code>, I am adding a <code>HelloWorldLayer</code> as a subview. Which is successfully added.</p>
  
  <p>Now this layer is being added with a black background color. I want its background color to be <code>clearColor</code>, precisely, I want it to be transparant, so that I can view the contents in my ViewController except for the contents in the <code>HelloWorldLayer</code>.</p>
  
  <p>I know how to change the <code>CCLayer</code> background color. I am using <code>ccc4(r, g, b, a)</code> for it. </p>
  
  <p>Here id my code:</p>
  
  <pre><code>-(id) init
  {
      // always call "super" init
      // Apple recommends to re-assign "self" with the "super's" return value
      if( (self=[super initWithColor:ccc4(0, 0, 0, 128)]) ) {
          CGSize windowSize = [[CCDirector sharedDirector] winSize];
          CCSprite *imgRoof;
          imgRoof = [CCSprite spriteWithFile:@"Tops.png"];
          imgRoof.position = ccp(windowSize.width/2,windowSize.height/2);
          [self addChild:imgRoof];
  
          CCAction* action = [CCBlink actionWithDuration:20 blinks:20];
          [imgRoof runAction:action];
  
      }
      return self;
  }
  </code></pre>
  
  <p>I just want to know the color code for <code>clearColor</code> for <code>ccc4()</code>. Can any one help me please, I am really stuck.</p>
  
  <p>Thanks a lot in advance!!!</p>