Added support for 3 character and 4 character hex strings (E.g. #FFF, #FFFF)

Added support for 3 character and 4 character hex strings (E.g. #FFF, #FFFF).
Updated README.MD about above usages.
Updated error messages in the code to reflect the changes.