In the 18th century, James Ayscough began experimenting with tinted lenses in spectacles. He believed that blue or green lenses could correct specific vision impairments and improve visual acuity. However, his glasses were not particularly successful, and it was not until the 20th century that sunglasses began to be worn for both fashion and function.