# cartocolor

> CartoColors: custom color palettes from CARTO

Latest version **5.0.2** (published 2024-05-23) · CC-BY-4.0 license · 0 weekly downloads

## Install

```sh
npm install cartocolor
pnpm add cartocolor
yarn add cartocolor
bun add cartocolor
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.2 |
| Published | 2024-05-23 |
| First published | 2016-05-05 |
| Weekly downloads | 0 |
| License | CC-BY-4.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 70.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 236 |
| Maintainers | aalmonacid, donmccurdy, moicalcob, m.deividas, vmilan, felixpalmer, josmorsot, aaranadev, zbigg, eamadorp, juanra-carto, cartodb, victor.velarde, shylpx, jaragon |
| Keywords | colors, design, visualization, cartography, svg, d3 |

## Links

- npm: https://www.npmjs.com/package/cartocolor
- Repository: https://github.com/cartodb/cartocolor
- Homepage: https://carto.com/
- Issues: https://github.com/cartodb/cartocolor/issues
- npm.io page: https://npm.io/package/cartocolor

## Dependencies (1)

- [colorbrewer](https://npm.io/package/colorbrewer.md) 1.5.6

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 5.0.2 (latest) — 2024-05-23
- 5.0.0 — 2024-05-15
- 4.0.2 — 2020-01-20
- 4.0.0 — 2016-12-12
- 3.0.0 — 2016-07-21
- 2.0.2 — 2016-07-05
- 2.0.1 — 2016-07-05
- 2.0.0 — 2016-07-05
- 1.1.0 — 2016-05-17
- 1.0.2 — 2016-05-05
- 1.0.1 — 2016-05-05
- 1.0.0 — 2016-05-05

## README

# CARTOColors
CARTOColors are a set of custom color palettes built on top of well-known standards for color use on maps, with next generation enhancements for the web and CARTO basemaps. Choose from a selection of sequential, diverging, or qualitative schemes for your next CARTO powered visualization.

This repo provides resources to use CARTOColors as a node module inspired by https://github.com/saikocat/colorbrewer.

## Resources
+ [Color by Data: Introducing CARTOColors](https://carto.com/blog/introducing-cartocolors/)
+ [CARTOColors landing page](https://carto.com/carto-colors)
+ [CARTOColor Scheme Names](https://github.com/CartoDB/CartoColor/wiki/CARTOColor-Scheme-Names)

## Availability in other languages
+ Python: [Palletable](https://jiffyclub.github.io/palettable/)
+ R: [rcartocolor](https://github.com/Nowosad/rcartocolor)

## Licensing

CARTOColors is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/).

## Credits/Additional Information
+ CARTOColors as a node module inspired by https://github.com/saikocat/colorbrewer
+ In the file `cartocolor.js`, you will find CARTOColor schemes tagged as `sequential`, `diverging`, and `qualititative` and their unique [scheme name](https://github.com/CartoDB/CartoColor/wiki/CARTOColor-Scheme-Names).
+ In addition to CARTOColors, `cartocolor.js` includes [ColorBrewer](colorbrewer.org) schemes that are available for use in [CARTO Builder](carto.com/builder). You can find those definitions [here](https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js#L1836-L1849).
+ CARTOColors includes a color-blind friendly qualitative scheme named [Safe](https://github.com/CartoDB/CartoColor/blob/master/cartocolor.js#L1633-L1733) we included this scheme based on the research and recommendations of [Paul Tol](https://personal.sron.nl/~pault/data/colourschemes.pdf).

---
_Source: https://npm.io/package/cartocolor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
