├── .editorconfig ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── index.js ├── package.json ├── src ├── replace-color.js └── utils │ ├── convert-color.js │ ├── get-delta.js │ ├── is-number.js │ ├── replace-color-error.js │ └── validate-colors.js └── test ├── error-handling.js ├── files └── watermark.jpg └── replace-color.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/package.json -------------------------------------------------------------------------------- /src/replace-color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/replace-color.js -------------------------------------------------------------------------------- /src/utils/convert-color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/utils/convert-color.js -------------------------------------------------------------------------------- /src/utils/get-delta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/utils/get-delta.js -------------------------------------------------------------------------------- /src/utils/is-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/utils/is-number.js -------------------------------------------------------------------------------- /src/utils/replace-color-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/utils/replace-color-error.js -------------------------------------------------------------------------------- /src/utils/validate-colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/src/utils/validate-colors.js -------------------------------------------------------------------------------- /test/error-handling.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/test/error-handling.js -------------------------------------------------------------------------------- /test/files/watermark.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/test/files/watermark.jpg -------------------------------------------------------------------------------- /test/replace-color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/turakvlad/replace-color/HEAD/test/replace-color.js --------------------------------------------------------------------------------