Was Louisiana a french or Spanish colony?

Both... it was first a French colony, was then transferred over to Spain, and then transfrerred back to French in 1800 in the Third Treaty of San Ildefonso.
I am pretty sure it was a french colony. France gained Louisiana and then sold it later on to the United States in the Louisiana Purchase. In case you didn't know the Louisiana Purchase was bought for approximately 15 million dollars.