NUREMBERG, Germany (Reuters) - If the digital revolution is going to consign anything to the dustbin of history, you might think the humble pencil would be a leading contender.

However, with such pastimes as doodling and coloring being touted as stressbusters to escape the daily grind and the relentless lure of smartphones, German pencil-maker Faber-Castell is thriving 256 years after it was founded.

“We see that people with all the digital devices around go back to a more manual way of expressing themselves,” Daniel Rogger, chief executive of the family owned firm, told Reuters.

“It’s like a counter-trend to digitalization in terms of product usage and of course that’s something that we love to see.”

The fashion for adult coloring, where people have books of different themes and patterns to complete, like children, lifted Faber-Castell to record sales of 667 million euros in 2016/2017.

While that fad has now ebbed, new trends such as “bullet journals” - a combination of writing to-do lists and artistic doodling - will keep sales stable in 2017/2018, Rogger said.

Faber-Castell is even seeking to turn the online world to its advantage by setting up a digital gallery.

Slideshow ( 16 images )

It launched the platform last year in Brazil – one of its biggest markets – where artists can share their work and creative ideas.

It is also setting up fine art academies in Japan and Lebanon modeled on the one in Stein, outside Nuremberg, where Faber-Castell makes 150 million colored pencils a year.

A larger factory in Brazil produces more than 2 billion each year. Laid end to end, its annual production would go round the world 10 times.

The company has been in the same family for nine generations, and over that time it has faced repeated threats to its existence.

The castle overlooking its factory was commandeered by the Nazis and, after World War Two, requisitioned by the Americans to house journalists covering the Nuremberg war crimes trials.

And, in a case of what today might be called digital disruption, the invention of electronic calculator in the 1970s destroyed Faber-Castell’s sideline making slide rules virtually overnight.

Last year Faber-Castell appointed Rogger as its first chief executive from outside the family. For him the digital era and social media presents an opportunity.

“It enables us to get very close to our customers, to our consumers, to interact, to get direct feedback on our products, on trends,” said Rogger, a 49-year-old Swiss with a background in the luxury watch industry.