A terminally ill six-year-old has raised more than 2.5 million Euros (£2.1m) for charity by daring people in the Netherlands to paint their nails.

Tijn Kolsteren, who was diagnosed with brain cancer in May, hoped to raise a few hundred Euros for other unwell children with the challenge.

But the appeal, which ran for three days and ended on Saturday, caught the public imagination.

Tijn, who has been told he is unlikely to live for more than a year, said as part of his bucket list he wants to help as many other children as possible.

He appeared on a Dutch radio programme with his father, Gerrit Kolsteren, and asked people to get their nails painted and give money to his donation page.

“With his nail-painting dare he wanted to help children suffering from pneumonia,” the Dutch public broadcaster NOS reported. “It was an enormous success – from DJ Armin van Buuren to prime minister Mark Rutte, and many other famous celebrities had their nails painted [sic].”

The donation page urged people: “Paint your nails, make a donation and then challenge three of your friends to do the same.”

It invited participants to share their pictures on social media using the hashtag #lakaan (meaning “the polish is on”). By Thursday, #lakaan and #heelhollandlakt (all of Holland paints) were trending on Twitter.

3FM’s Serious Request is a radio programme which raises money for different causes every year. It’s currently in its 12th year and is raising money for the Red Cross’s fight against pneumonia.

During the appeal, two DJs live in a ‘glass house’ for six days with no food.

Mr Rutte joined the DJs late on Friday and opted for a deep blue for his own nails. Other people lined up outside the studio to ask Tijn to paint their nails personally.

Tijn’s family learned last week that a course of chemotherapy had failed to reduce the size of his cancer.

“Despite this bad news, we wanted to do something for children who won’t maybe even make it to six,” Mr Kolsteren told NOS.

'Children and animals' photo contest Show all 18 1 /18 'Children and animals' photo contest 'Children and animals' photo contest Finalist, Lidia Madura, Poland 'Children and animals' photo contest Finalist, Jen Maunder, Australia 'Children and animals' photo contest Winner, Justyna Garczyk-Kleszcz, Poland 'Children and animals' photo contest Finalist, Berit Alits, Ireland 'Children and animals' photo contest Finalist, Katarzyna Olesiejuk Staniewicz, Poland 'Children and animals' photo contest Finalist, Uliana Kharinova, Russia 'Children and animals' photo contest Finalist, Marta Obiegla, Poland 'Children and animals' photo contest Finalist, Kasia Stepkowska-De Croock, Belgium 'Children and animals' photo contest Finalist, Kerli Sosi, Estonia 'Children and animals' photo contest Finalist, Peggy Laurich, Germany 'Children and animals' photo contest Finalist, Lisa Holloway, USA 'Children and animals' photo contest Finalist, Stephanie Piscitelli, USA 'Children and animals' photo contest Finalist, Jennifer Kapala, Canada 'Children and animals' photo contest Finalist, Marta Everest, Spain 'Children and animals' photo contest Finalist, Agnieszka Gulczyńska, Poland 'Children and animals' photo contest Finalist, Jody D’Angelo, Canada 'Children and animals' photo contest Finalist, Helen Whittle, Australia 'Children and animals' photo contest Finalist, Doina Domenica Cojocaru, Romania Doina-Domenica Photography

“We came up with the idea together: Tijn had already painted his nails with a friend and liked it. I wanted to do something similar to the ice bucket challenge and men painting their nails is a bit taboo,” he added, referring to the internet craze that raised money and awareness for amyotrophic lateral sclerosis.