@Jesse Colorette is the case of error, because it performs multiple replace operation via recursion, so more output produce more stack requirements.
I made PR to solve this issue: https://github.com/jorgebucaran/colorette/pull/107