Chromatic number and subtrees of graphs