Do consonants have formants?
Formants are the filtering properties of a sound, defined by where the constrictions are. Both consonants and vowels have constrictions, so they have formants (well, h and ʔ don't have constrictions). However, figuring out where the formants are for a vowel is simple, not so much so for a consonant.
How many formants do consonants have?
There are six of them: /p, b, t, d, k, g/. /p/ and /b/ are produced with the constriction at the lips (bilabial).