I did a small experiment to test the assertion raised before. I took 2 buckets of the same size ( one white, one red ), and half filled both with tank water. I put a bunch of grass clippings in both, but the red one had half the amount as the white. I put some duckweed in the red one for the mozzies to land on. Both buckets are under my deck in the shade, and right next to each other.
Some weeks later, the one with more grass has water of a deeper colour. Both have larvae in them but the white one with no floating surface material has 7 egg rafts, and the one with the duck weed has none. ( I took some rafts from the white one and put them into the red one in case the presence of existing larvae might help. )
My provisional conclusion is that the major determinant of where the mozzies lay their eggs, is the water quality. The more organic material for the larvae to eat is where you will find the mozzies laying their eggs, which makes biological sense.