Maisie Williams has revealed she "subconsciously" decided to dye her hair pink so that she could take a break from work.