A designer approach to plasmonic nanostructures: tuning their resonance from visible to near-infrared