Implemented color arithmetic, fixes #56