I needed a function for writing colour text, so I thought why not start a library and learn some bash scripting? Anyway, it's up on my git repository.
Bashlib git repository
ยง