Text this: Accurate prediction of the optical properties of nanoalloys with both plasmonic and magnetic elements.