Augments the built-in String type with a few helpful functions (ucwords, ucfirst, pad)
String.prototype.ucwords
Capitalises each word
String.prototype.ucfirst
Capitalises the first letter
String.prototype.pad(width, character)
Left-pads the string with character
until it is width
in length.
String.prototype.toHexColour
Converting the string into a hexadecimal colour.