Update getColor calls that were deprecated in M.