If your iPhone messages are green, it means that they're being sent as SMS text messages rather than as iMessages, which appear in blue. iMessages only work between Apple users. You'll always see green when writing to Android users, or when you're not connected to the internet.