added the option to pass in an RGB object (see #1)
made return value include rgb if provided with custom, named colors
updated the code so that hex strings and RGBs are (basically) interchangeable (fixes #1)
updated README
bumping to 0.4.0 (why not, it's an API change)