├── .gitattributes ├── .gitignore ├── API.md ├── Gulpfile.js ├── LICENSE.txt ├── README.md ├── dist ├── colors.js └── colors.min.js ├── index.js ├── package.json ├── src ├── complement.js ├── hex2hsv.js ├── hex2rgb.js ├── hsv2hsl.js ├── hsv2rgb.js ├── index.js ├── name2hex.js ├── name2hsv.js ├── name2rgb.js ├── rand.js ├── rgb2hex.js ├── rgb2hsl.js └── utils.js ├── test ├── complement.test.js ├── hex2rgb.test.js └── utils.test.js └── tmp.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | *.map 4 | test-reports 5 | -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/API.md -------------------------------------------------------------------------------- /Gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/Gulpfile.js -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/README.md -------------------------------------------------------------------------------- /dist/colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/dist/colors.js -------------------------------------------------------------------------------- /dist/colors.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/dist/colors.min.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/package.json -------------------------------------------------------------------------------- /src/complement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/complement.js -------------------------------------------------------------------------------- /src/hex2hsv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/hex2hsv.js -------------------------------------------------------------------------------- /src/hex2rgb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/hex2rgb.js -------------------------------------------------------------------------------- /src/hsv2hsl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/hsv2hsl.js -------------------------------------------------------------------------------- /src/hsv2rgb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/hsv2rgb.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/index.js -------------------------------------------------------------------------------- /src/name2hex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/name2hex.js -------------------------------------------------------------------------------- /src/name2hsv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/name2hsv.js -------------------------------------------------------------------------------- /src/name2rgb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/name2rgb.js -------------------------------------------------------------------------------- /src/rand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/rand.js -------------------------------------------------------------------------------- /src/rgb2hex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/rgb2hex.js -------------------------------------------------------------------------------- /src/rgb2hsl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/rgb2hsl.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/src/utils.js -------------------------------------------------------------------------------- /test/complement.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/test/complement.test.js -------------------------------------------------------------------------------- /test/hex2rgb.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/test/hex2rgb.test.js -------------------------------------------------------------------------------- /test/utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbjordan/Colors/HEAD/test/utils.test.js -------------------------------------------------------------------------------- /tmp.js: -------------------------------------------------------------------------------- 1 | var x = require('./src/utils'); 2 | 3 | console.log(x.parseHexColor('eedabc')); 4 | --------------------------------------------------------------------------------