# @types/chroma-js

> TypeScript definitions for chroma-js

Latest version **3.1.2** (published 2025-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/chroma-js
pnpm add @types/chroma-js
yarn add @types/chroma-js
bun add @types/chroma-js
```

## Health

**Score 70/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.1.2 |
| Published | 2025-10-27 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 37.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/chroma-js
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chroma-js
- npm.io page: https://npm.io/package/@types/chroma-js

## Recent versions

- 3.1.2 (latest) — 2025-10-27
- 3.1.1 (ts5.1) — 2025-01-29
- 2.4.4 (ts4.7) — 2024-02-07
- 2.4.3 (ts4.5) — 2023-11-07
- 2.4.1 (ts4.3) — 2023-09-04
- 2.4.0 (ts4.2) — 2023-02-17
- 2.1.4 (ts4.0) — 2022-07-05
- 2.1.3 (ts3.6) — 2020-12-23
- 2.1.2 (ts3.2) — 2020-11-16
- 2.0.1 (ts3.1) — 2020-09-10
- 2.0.0 (ts3.0) — 2020-02-05
- 1.4.3 (ts2.3) — 2019-09-26
- 1.1.32 (ts2.1) — 2016-09-19
- 3.1.0 — 2025-01-06
- 2.4.5 — 2024-12-17
- … 33 more at https://npm.io/package/@types/chroma-js/versions

## README

# Installation
> `npm install --save @types/chroma-js`

# Summary
This package contains type definitions for chroma-js (https://github.com/gka/chroma.js).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chroma-js.

### Additional Details
 * Last updated: Mon, 27 Oct 2025 20:34:59 GMT
 * Dependencies: none

# Credits
These definitions were written by [Sebastian Brückner](https://github.com/invliD), and [Charlie Zhuo](https://github.com/CharlieZhuo).

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