Why do you think the problem is with glColor4f? I'd rather guess you're simply drawing outside your viewport.