You misunderstand, if a 7805 is supplied with only 6v, because of its voltage drop out, it may supply 5V at a very low current but it will not be regulating the output. You would be better of with a series resistor and a zener if you want to run the circuit at 6V