A two-step synthetic route to GdOF:Ln(3+) nanocrystals with multicolor luminescence properties.