Hilary Duff hopes her new TV series Younger is “inspiring people”.

The 27-year-old stars in the comedy show about as the co-worker of a 40-year-old single mother who pretends to be in her 20s to get an entry-level job. Hilary is loving the response it has had from viewers and is pleased that it’s highlighted to so many of them that getting older doesn’t have to mean your life is over.

“That’s what the show is doing,” Hilary told ET Canada. "It’s inspiring people to not hold back in any age, you know?”

The star certainly hasn’t held back herself lately. As well as taking part in sexy cover shoots for the likes of Cosmopolitan magazine and working on new music, she recently dyed her blonde hair blue. It was quite a drastic change for Hilary, but she didn’t mind being on the receiving end of comparisons to reality star Kylie Jenner after revealing the look.

“I did hear the Kylie Jenner comparisons right when I dyed my hair," she told E! News. "I was like ‘oh no!' I didn't know she had green hair, but the colour was similar. I think it looked amazing and she's a trendsetter and I'm happy to be in that company.”

Hilary dyed her tresses after a relaxing holiday with her three-year-old son Luca and some female friends. And while she admits she will no doubt return to her natural colour soon, she’s enjoyed experimenting and channelling her TV show’s ethos.

“I don't know how long I'm going to keep the hair," she added. "It's fun right now it kind of takes on different tones every time I wash it. But maybe two or three more weeks? It's not meant to be super permanent."