Chromatic numbers of subgraphs