I wanted some HOCl by electrolysis of NaCl and H20 using graphite electrodes.
Cool.
The cathode halfcell was NaCl and the anode half cell was H2O.
This part I don't understand. When constructing a battery, we use half cells, connected by a salt bridge, or other diffusion inhibitor, like a porous cup, or something like that. We don't use half cells for electrolysis. Maybe you could draw a diagram, so we can understand what you mean. Plain water doesn't conduct electricity well enough to be useful for electrolysis.
As expected, i got NaOH at the cathode but i got a dark brown liquid (which smells like HOCl anyway) at the anode. I used a 6V Battery and the cell was run for about 25 hours. My question is 'is HOCl really brown?' i stored the brown liquid in a plastic bottle and after a few days the liquid turned clear and pale yellow and the smell of HOCl was gone
Many different things are happening. Some other things are described ... incorrectly. Or your observations are clear, but your explanation isn't. Maybe. Or something. Maybe your electrodes are decomposing?