What is the origins of the phenomenon of (U.S.) Americans thinking of Hispanics as exclusively non-white, or even as a singular race of "brown people"?

by Genabackan

Edit: Or att least, as a race in itself.

Nevada_Lawyer

This answer by /u/Nevada_Lawyer somewhat touches on the problematic history of legal classification of Hispanics before the civil rights era:

Link

tankiechrist

Follow up - was there any differences in treatment of the US between white Hispanics of primarily Spanish origin and mestizos? Especially in the territory conquered after the mexican war.