# icc

> Parse International Color Consortium (ICC) profiles

Latest version **4.0.0** (published 2026-04-23) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-04-23 |
| First published | 2015-06-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20 |
| Dependencies | 0 |
| Unpacked size | 19 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 63 |
| Author | Lovell Fuller |
| Maintainers | lovell |
| Keywords | icc, color, colour, profile |

## Links

- npm: https://www.npmjs.com/package/icc
- Repository: https://github.com/lovell/icc
- Homepage: https://github.com/lovell/icc#readme
- Issues: https://github.com/lovell/icc/issues
- npm.io page: https://npm.io/package/icc

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 4.0.0 (latest) — 2026-04-23
- 4.0.0-rc.0 (rc) — 2026-04-23
- 3.0.0 — 2023-03-27
- 2.0.0 — 2020-06-26
- 1.0.0 — 2017-01-15
- 0.0.2 — 2015-06-29
- 0.0.1 — 2015-06-29

## README

# icc

JavaScript module to parse International Color Consortium (ICC) profiles.

## Installation

	npm install icc

## Usage

```javascript
import { parse } from 'icc';
const profileData = fs.readFileSync('sRGB_IEC61966-2-1_black_scaled.icc');
const profile = parse(profileData);
console.dir(profile);
```
outputs:
```
{ version: '2.0',
  intent: 'Perceptual',
  deviceClass: 'Monitor',
  colorSpace: 'RGB',
  connectionSpace: 'XYZ',
  description: 'sRGB IEC61966-2-1 black scaled',
  deviceModelDescription: 'IEC 61966-2-1 Default RGB Colour Space - sRGB',
  viewingConditionsDescription: 'Reference Viewing Condition in IEC 61966-2-1',
  copyright: 'Copyright International Color Consortium, 2009'}
```

## API

### parse(data)

Parses `data`, a Buffer containing a raw ICC profile, returning an Object of key/value pairs.

## Licence

Copyright 2015 Lovell Fuller and others

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.

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