Color parts of texts within an h1/2/3/4/5

You can, but don’t use the bold feature of the text tool, use the bold version of the font in the typography panel. However this is never recommended as bold font will push all the characters following the word a bit further away, making a whole block of text possibly moving.