{"library":"chroma-js","type":"library","category":null,"description":"Chroma.js is a lightweight, zero-dependency JavaScript library for comprehensive color conversions and generating sophisticated color scales. Currently at v3.2.0, the library sees a consistent, though not rapid, release cadence, addressing bugs and introducing new features periodically. Its core strength lies in supporting a wide array of color models including RGB, HSL, HSV, Lab, Lch, Oklab, and Oklch, alongside modern CSS color syntax. Key differentiators include its powerful color scale generation capabilities, allowing for custom domains, quantile-based scaling, logarithmic scales, and improved interpolation modes like Lab/Lch for visually smoother transitions, distinguishing it from simpler color utilities. It also provides access to Color Brewer palettes.","language":"javascript","status":"active","version":"3.2.0","tags":["javascript","color"],"last_verified":"Wed May 27","install":[{"cmd":"npm install chroma-js","imports":["import chroma from 'chroma-js';","import type { ChromaStatic } from 'chroma-js';","import type { Color } from 'chroma-js';"]},{"cmd":"yarn add chroma-js","imports":[]},{"cmd":"pnpm add chroma-js","imports":[]}],"homepage":"https://www.chroma-js.com/","github":"https://github.com/gka/chroma.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/chroma-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/chroma-js/compatibility"}}