Taking a look ad your code you seem to have the basics down. There are aliens, they are a color.
Your Collision code is the problem.
First, you aren't calling defender.colliosn(Alien1) anywhere. You want to do your check before you draw the defender so it won't overwrite any alien colors.
Second, in your collision function you are comparing the color of the alien to the X position of the alien. Those will hardly ever match.
You need to get the defenders color, (0,0,100) and compare to the alien color.
Hope that helps,
-Lee