What attracts mosquitoes carbon dioxide light or color?

After looking into this it seems that it would be carbon dioxide, water, and light. I have yet to find that color has any effect.