8000 GitHub - semanticresearch/colorbrewer: ColorBrewer by Cynthia Brewer packaged as a node module (for browersify)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

semanticresearch/colorbrewer

 
 

Folders and files

Nam 8000 eName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colorbrewer

Color specifications and designs developed by Cynthia Brewer (http://colorbrewer2.org/).

This is a shim module of colorbrewer2 by Cythina Brewer for browserify.

It is also a shim for the files provided in d3.js lib.

Access color schemes by name and the number of discrete colors needed, such as colorbrewer.Blues[5]. For a list of color schemes by group, use colorbrewer.schemeGroups. Example:

const colorbrewer = require('colorbrewer');

console.log(colorbrewer.schemeGroups.sequential);
// ["BuGn","BuPu","GnBu",...]

console.log(colorbrewer.Blues[5]);
// ["#eff3ff","#bdd7e7","#6baed6","#3182bd","#08519c"]

About

ColorBrewer by Cynthia Brewer packaged as a node module (for browersify)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 75.3%
  • JavaScript 24.7%
291A
0