Preparation of color-tunable and stable plasmonic MoO3 nanomaterials remains challenging, due to the lack of an effective preparation strategy and surface protection in heavily doped MoO3.