Added transparency option in color object

This will add support for transparent colors #42.