RGB Conversion

Added conversion to and from RGB. I found this needed when generating
colors for rgba style backrounds in CSS.

This is my first ever venture into git and my first ever interaction with someone else's repositories :) Please let me know if I am breaching etiquette or doing something wrong, I would appreciate it :)