added option for transparent colors to color object

This will add support for transparent colors #42, but some edges are drawn wrong as described in #6 and #25 this happens when a shape overlaps pixels of another shape.