It's a factor, but not a huge one. A pretty color might draw my attention, but the other details of the toy are more important. I have, however, had occasions when color helped me choose between two very similar toys.
I will say, though, that an ugly color can turn me away from a toy more than a pretty one will draw me to it. I prefer to have toys that are both attractive and
functional, when possible.