Brown gills usually means brown-blood disease aka nitrite poisoning (methemoglobinemia). It's the result of long-term poor maintenance. It can be reversed if it's not in a latent stage where the fish no longer has any healthy red blood cells. We have marrow to produce new red blood cells. Fish blood cells are nucleated and must divide to produce new red blood cells. If the RTC has any normal red blood cells left, it can recover. But, it takes time and rigorous maintenance/aeration to help it towards restored health.