site-scheme
Extracts color schemes from sites
Last updated 2 years ago by jense5 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install site-scheme 
SYNC missed versions from official npm registry.

Site Scheme

Fetch color schemes from websites.

# Extract color schemes via terminal (optional output file).
# See the images and result below. The top is the color at the top of the site.
$ npm install -g site-scheme
$ site-scheme --url 'http://toledo.kuleuven.be' --number 5 --output 'output.png'
# Prints: {"top":"#1E8EB1","colors":["#F3F5F5","#96C4D5",...]}
// Use it via the module.
import extractScheme from 'site-scheme';
extractScheme('http://toledo.kuleuven.be', 5, 'output.png').then((colors) => {
  winston.info(JSON.stringify(colors, null, 4));
});


Current Tags

  • 1.0.0                                ...           latest (2 years ago)

7 Versions

  • 1.0.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 8
Dependencies (12)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |