While any onion can technically be used in place of shallots, yellow is best, with the closest flavor similarity. Try to use an equal volume of onion, so about 1/4 onion for each shallot.