Bugfix to duplicate

Using private getters
typo fix
Change to b.color()

Uses swatches to be compatible with Gradients... Might break something
else, have to keep an eye on it.