Scrawled or masterfully crafted on walls and roads are messages of hope and warning.

Street art is getting inspiration from the coronavirus pandemic gripping the globe, offering some comic relief, wit and beauty in a world where people are cut off from each other.

More Images
A man walks by a street art mural, depicting a healthcare worker in a face mask by Belgian street artist CAZ, during a partial lockdown against the spread of COVID-19 in Wetteren, Belgium, March 31, 2020. (AP PhotoVirginia Mayo)

Scrawled or masterfully crafted on walls and roads are messages of hope and warning.

A mural by street artist Lionel Stanhope with a face mask reference to coronavirus next to one of his other works, at right, painted on a bridge wall in Ladywell, south east London, Thursday, April 2, 2020. (AP PhotoMatt Dunham

In Prague, people take photos with a graffiti image of John Lennon, whose nose and mouth are covered with a fabric mask that says, “All you need is love,” the title of the Beatles' 1967 song.

A woman poses for a photo by the "Lennon Wall" with a face mask attached to the image of John Lennon, in Prague, Czech Republic, Monday, April 6, 2020. (AP PhotoPetr David Josek)

A woman poses for a photo by the "Lennon Wall" with a face mask attached to the image of John Lennon, in Prague, Czech Republic, Monday, April 6, 2020. (AP PhotoPetr David Josek)

A graffiti of "The Child," dubbed "Baby Yoda" character, wearing a face mask, is painted on a wall in Guatemala City, Monday, April 6, 2020. (AP PhotoMoises Castillo)

A graffiti of "The Child," dubbed "Baby Yoda" character, wearing a face mask, is painted on a wall in Guatemala City, Monday, April 6, 2020. (AP PhotoMoises Castillo)

Graffiti artist Angelo Campos poses for a photo by his mural referencing the COVID-19 pandemic which he said he painted in honor of health workers in Rio de Janeiro, Brazil, Thursday, May 21, 2020. (AP PhotoSilvia Izquierdo)

Graffiti artist Angelo Campos poses for a photo by his mural referencing the COVID-19 pandemic which he said he painted in honor of health workers in Rio de Janeiro, Brazil, Thursday, May 21, 2020. (AP PhotoSilvia Izquierdo)

A mural near a hospital pays tribute to nurses amid COVID-19 concerns in Dallas, Tuesday, April 7, 2020. (AP PhotoLM Otero)

A mural near a hospital pays tribute to nurses amid COVID-19 concerns in Dallas, Tuesday, April 7, 2020. (AP PhotoLM Otero)

A boy wearing a mask as a precaution against the spread of the new coronavirus plays in front of a mural by artist Yulier P. titled "Marcha Hacia la Oscuridad," or Move Toward Darkness, in the patio of a home in Havana, Cuba, Friday, April 10, 2020. Yulier P. said his latest murals show humanity's powerlessness against the COVID-19 disease. (AP PhotoRamon Espinosa)

A boy wearing a mask as a precaution against the spread of the new coronavirus plays in front of a mural by artist Yulier P. titled "Marcha Hacia la Oscuridad," or Move Toward Darkness, in the patio of a home in Havana, Cuba, Friday, April 10, 2020. Yulier P. said his latest murals show humanity's powerlessness against the COVID-19 disease. (AP PhotoRamon Espinosa)

A recently painted mural depicts a coronavirus theme Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A recently painted mural depicts a coronavirus theme Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A motorcycle deliveryman rides past a billboard urging people to stay during the coronavirus pandemic in Dubai, United Arab Emirates, Wednesday, April 15, 2020. (AP PhotoJon Gambrell)

A motorcycle deliveryman rides past a billboard urging people to stay during the coronavirus pandemic in Dubai, United Arab Emirates, Wednesday, April 15, 2020. (AP PhotoJon Gambrell)

An Indian traffic policeman stands next to an artwork displayed on a road to create awareness about coronavirus during lockdown in Gauhati, India, Wednesday, April 15, 2020. (AP PhotoAnupam Nath)

An Indian traffic policeman stands next to an artwork displayed on a road to create awareness about coronavirus during lockdown in Gauhati, India, Wednesday, April 15, 2020. (AP PhotoAnupam Nath)

A motorist wearing a face mask rides past a coronavirus themed mural in Depok on the outskirts of Jakarta, Indonesia, Wednesday, April 15, 2020. (AP PhotoDita Alangkara)

A motorist wearing a face mask rides past a coronavirus themed mural in Depok on the outskirts of Jakarta, Indonesia, Wednesday, April 15, 2020. (AP PhotoDita Alangkara)

Graffiti depicts U.S. President Trump, right, and China's President Xi Jinping kissing each other with face masks on a wall in the public park Mauerpark in Berlin, Germany, Wednesday, April 29, 2020. (AP PhotoMarkus Schreiber)

Graffiti depicts U.S. President Trump, right, and China's President Xi Jinping kissing each other with face masks on a wall in the public park Mauerpark in Berlin, Germany, Wednesday, April 29, 2020. (AP PhotoMarkus Schreiber)

A mother and her child are reflected as they pass a mural by artist FAKE, titled "Super Nurse", paying tribute to all healthcare and medical professionals in times of the coronavirus, in Amsterdam, Netherlands, Sunday, April 19, 2020. (AP PhotoPeter Dejong)

A mother and her child are reflected as they pass a mural by artist FAKE, titled "Super Nurse", paying tribute to all healthcare and medical professionals in times of the coronavirus, in Amsterdam, Netherlands, Sunday, April 19, 2020. (AP PhotoPeter Dejong)

Members of the National Youth Service walk past an informational mural about the coronavirus with words in Swahili reading "Stop corona in the neighborhood", painted by graffiti artists from the Mathare Roots youth group, in the Mathare slum, or informal settlement, of Nairobi, Kenya Thursday, April 30, 2020. (AP PhotoBrian Inganga)

Members of the National Youth Service walk past an informational mural about the coronavirus with words in Swahili reading "Stop corona in the neighborhood", painted by graffiti artists from the Mathare Roots youth group, in the Mathare slum, or informal settlement, of Nairobi, Kenya Thursday, April 30, 2020. (AP PhotoBrian Inganga)

A mural reads "Stay Home, Life is Beautiful' Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A mural reads "Stay Home, Life is Beautiful' Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

Children walk past an informational mural depicting the new coronavirus and warning people to sanitize to prevent its spread, painted by graffiti artists from the Mathare Roots youth group, in the Mathare informal settlement, of Nairobi, Kenya, Wednesday, April 22, 2020. (AP PhotoBrian Inganga)

Children walk past an informational mural depicting the new coronavirus and warning people to sanitize to prevent its spread, painted by graffiti artists from the Mathare Roots youth group, in the Mathare informal settlement, of Nairobi, Kenya, Wednesday, April 22, 2020. (AP PhotoBrian Inganga)

In some cases, the art urges people to follow safety advice. Celebrities and politicians are depicted wearing masks.

A man walks by a street art mural, depicting a healthcare worker in a face mask by Belgian street artist CAZ, during a partial lockdown against the spread of COVID-19 in Wetteren, Belgium, March 31, 2020. (AP PhotoVirginia Mayo)

A man walks by a street art mural, depicting a healthcare worker in a face mask by Belgian street artist CAZ, during a partial lockdown against the spread of COVID-19 in Wetteren, Belgium, March 31, 2020. (AP PhotoVirginia Mayo)

In Prague, people take photos with a graffiti image of John Lennon, whose nose and mouth are covered with a fabric mask that says, “All you need is love,” the title of the Beatles' 1967 song.

Coronavirus germs depicted as cartoon villains are spray-painted on streets and walls in India and Kenya to get people to take precautions to prevent the disease from spreading.

While street art around the world is giving people something thought-provoking or entertaining to gaze at from behind their masks, it also can provide a glimmer of hope, like one mural in Los Angeles that implores passers-by: “Stay home, life is beautiful."

A mural by street artist Lionel Stanhope with a face mask reference to coronavirus next to one of his other works, at right, painted on a bridge wall in Ladywell, south east London, Thursday, April 2, 2020. (AP PhotoMatt Dunham

A mural by street artist Lionel Stanhope with a face mask reference to coronavirus next to one of his other works, at right, painted on a bridge wall in Ladywell, south east London, Thursday, April 2, 2020. (AP PhotoMatt Dunham

A woman poses for a photo by the "Lennon Wall" with a face mask attached to the image of John Lennon, in Prague, Czech Republic, Monday, April 6, 2020. (AP PhotoPetr David Josek)

A woman poses for a photo by the "Lennon Wall" with a face mask attached to the image of John Lennon, in Prague, Czech Republic, Monday, April 6, 2020. (AP PhotoPetr David Josek)

A graffiti of "The Child," dubbed "Baby Yoda" character, wearing a face mask, is painted on a wall in Guatemala City, Monday, April 6, 2020. (AP PhotoMoises Castillo)

A graffiti of "The Child," dubbed "Baby Yoda" character, wearing a face mask, is painted on a wall in Guatemala City, Monday, April 6, 2020. (AP PhotoMoises Castillo)

Graffiti artist Angelo Campos poses for a photo by his mural referencing the COVID-19 pandemic which he said he painted in honor of health workers in Rio de Janeiro, Brazil, Thursday, May 21, 2020. (AP PhotoSilvia Izquierdo)

Graffiti artist Angelo Campos poses for a photo by his mural referencing the COVID-19 pandemic which he said he painted in honor of health workers in Rio de Janeiro, Brazil, Thursday, May 21, 2020. (AP PhotoSilvia Izquierdo)

A mural near a hospital pays tribute to nurses amid COVID-19 concerns in Dallas, Tuesday, April 7, 2020. (AP PhotoLM Otero)

A mural near a hospital pays tribute to nurses amid COVID-19 concerns in Dallas, Tuesday, April 7, 2020. (AP PhotoLM Otero)

A boy wearing a mask as a precaution against the spread of the new coronavirus plays in front of a mural by artist Yulier P. titled "Marcha Hacia la Oscuridad," or Move Toward Darkness, in the patio of a home in Havana, Cuba, Friday, April 10, 2020. Yulier P. said his latest murals show humanity's powerlessness against the COVID-19 disease. (AP PhotoRamon Espinosa)

A boy wearing a mask as a precaution against the spread of the new coronavirus plays in front of a mural by artist Yulier P. titled "Marcha Hacia la Oscuridad," or Move Toward Darkness, in the patio of a home in Havana, Cuba, Friday, April 10, 2020. Yulier P. said his latest murals show humanity's powerlessness against the COVID-19 disease. (AP PhotoRamon Espinosa)

A recently painted mural depicts a coronavirus theme Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A recently painted mural depicts a coronavirus theme Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A motorcycle deliveryman rides past a billboard urging people to stay during the coronavirus pandemic in Dubai, United Arab Emirates, Wednesday, April 15, 2020. (AP PhotoJon Gambrell)

A motorcycle deliveryman rides past a billboard urging people to stay during the coronavirus pandemic in Dubai, United Arab Emirates, Wednesday, April 15, 2020. (AP PhotoJon Gambrell)

An Indian traffic policeman stands next to an artwork displayed on a road to create awareness about coronavirus during lockdown in Gauhati, India, Wednesday, April 15, 2020. (AP PhotoAnupam Nath)

An Indian traffic policeman stands next to an artwork displayed on a road to create awareness about coronavirus during lockdown in Gauhati, India, Wednesday, April 15, 2020. (AP PhotoAnupam Nath)

A motorist wearing a face mask rides past a coronavirus themed mural in Depok on the outskirts of Jakarta, Indonesia, Wednesday, April 15, 2020. (AP PhotoDita Alangkara)

A motorist wearing a face mask rides past a coronavirus themed mural in Depok on the outskirts of Jakarta, Indonesia, Wednesday, April 15, 2020. (AP PhotoDita Alangkara)

Graffiti depicts U.S. President Trump, right, and China's President Xi Jinping kissing each other with face masks on a wall in the public park Mauerpark in Berlin, Germany, Wednesday, April 29, 2020. (AP PhotoMarkus Schreiber)

Graffiti depicts U.S. President Trump, right, and China's President Xi Jinping kissing each other with face masks on a wall in the public park Mauerpark in Berlin, Germany, Wednesday, April 29, 2020. (AP PhotoMarkus Schreiber)

A mother and her child are reflected as they pass a mural by artist FAKE, titled "Super Nurse", paying tribute to all healthcare and medical professionals in times of the coronavirus, in Amsterdam, Netherlands, Sunday, April 19, 2020. (AP PhotoPeter Dejong)

A mother and her child are reflected as they pass a mural by artist FAKE, titled "Super Nurse", paying tribute to all healthcare and medical professionals in times of the coronavirus, in Amsterdam, Netherlands, Sunday, April 19, 2020. (AP PhotoPeter Dejong)

Members of the National Youth Service walk past an informational mural about the coronavirus with words in Swahili reading "Stop corona in the neighborhood", painted by graffiti artists from the Mathare Roots youth group, in the Mathare slum, or informal settlement, of Nairobi, Kenya Thursday, April 30, 2020. (AP PhotoBrian Inganga)

Members of the National Youth Service walk past an informational mural about the coronavirus with words in Swahili reading "Stop corona in the neighborhood", painted by graffiti artists from the Mathare Roots youth group, in the Mathare slum, or informal settlement, of Nairobi, Kenya Thursday, April 30, 2020. (AP PhotoBrian Inganga)

A mural reads "Stay Home, Life is Beautiful' Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

A mural reads "Stay Home, Life is Beautiful' Tuesday, April 14, 2020, in Los Angeles. (AP PhotoMarcio Jose Sanchez)

Children walk past an informational mural depicting the new coronavirus and warning people to sanitize to prevent its spread, painted by graffiti artists from the Mathare Roots youth group, in the Mathare informal settlement, of Nairobi, Kenya, Wednesday, April 22, 2020. (AP PhotoBrian Inganga)

Children walk past an informational mural depicting the new coronavirus and warning people to sanitize to prevent its spread, painted by graffiti artists from the Mathare Roots youth group, in the Mathare informal settlement, of Nairobi, Kenya, Wednesday, April 22, 2020. (AP PhotoBrian Inganga)