Change category text color on topic header?

I’ve been able to fix it by putting this in the Common CSS for my theme.

.badge-wrapper .badge-category .category-name {
    text-overflow: ellipsis;
    overflow: hidden; 
    color: white;
}

however, this also turns the category names on the home page (latest) and beneath the title at the top of the thread to white. Is there any way to solely limit it to the header?