On top of worrying about colour and texture, you need to make sure that your foundation tool is right for you. Different tools give a different effect to foundation.
Before applying foundation, always prep skin with moisturizer, otherwise the foundation will look blotchy and cracked. If your skin is oily, use astringent to clean off dirt and oil, then moisturize and follow with foundation.