Revert "changed in color() function: findInCollectionByName with doc.colors and not doc.swatches"

This reverts commit d3c3f8a7f614d397d8a0801bdca28eee1873457c.