When used as a noun meaning "the most devoted and active members of a group," it's 'hard core.' When used as an adjective meaning "very active and enthusiastic," it's 'hard-core'. The musical genre, however, is 'hardcore'. Simple, right? More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.