https://github.com/d3/d3-color
Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.
https://github.com/d3/d3-color
Last synced: 7 months ago
JSON representation
Color spaces! RGB, HSL, Cubehelix, CIELAB, and more.
- Host: GitHub
- URL: https://github.com/d3/d3-color
- Owner: d3
- License: isc
- Created: 2015-06-02T16:49:07.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T19:16:02.000Z (almost 2 years ago)
- Last Synced: 2025-04-04T23:05:55.549Z (8 months ago)
- Language: JavaScript
- Homepage: https://d3js.org/d3-color
- Size: 293 KB
- Stars: 412
- Watchers: 23
- Forks: 96
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-webdev-resources - D3-Color
- awesome-dataviz-color - d3-color - Low level library to manipulate color with D3 (Tools / Javascript)
README
# d3-color
Even though your browser understands a lot about colors, it doesn’t offer much help in manipulating colors through JavaScript. The d3-color module therefore provides representations for various color spaces, allowing specification, conversion and manipulation. (Also see [d3-interpolate](https://github.com/d3/d3-interpolate) for color interpolation.)
## Resources
- [Documentation](https://d3js.org/d3-color)
- [Examples](https://observablehq.com/collection/@d3/d3-color)
- [Releases](https://github.com/d3/d3-color/releases)
- [Getting help](https://d3js.org/community)