# @palett/util-ansi

> A color converter

Latest version **0.12.28** (published 2025-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @palett/util-ansi
pnpm add @palett/util-ansi
yarn add @palett/util-ansi
bun add @palett/util-ansi
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.12.28 |
| Published | 2025-03-23 |
| First published | 2020-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 1 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hoyeung Wong |
| Maintainers | hoyeung |
| Keywords | chalk, color |

## Links

- npm: https://www.npmjs.com/package/@palett/util-ansi
- Repository: https://github.com/hoyeungw/palett/util-ansi
- Homepage: https://github.com/hoyeungw/palett/util-ansi#readme
- Issues: https://github.com/hoyeungw/palett/util-ansi
- npm.io page: https://npm.io/package/@palett/util-ansi

## Dependencies (1)

- [@palett/convert](https://npm.io/package/@palett/convert.md) ^0.12.28

## 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

- 0.12.28 (latest) — 2025-03-23
- 0.12.27 — 2025-03-23
- 0.12.26 — 2025-03-19
- 0.12.25 — 2025-03-19
- 0.12.24 — 2025-03-18
- 0.12.23 — 2025-03-18
- 0.12.22 — 2025-03-17
- 0.12.21 — 2025-03-17
- 0.12.20 — 2025-03-16
- 0.12.19 — 2025-03-15
- 0.12.18 — 2025-03-15
- 0.12.17 — 2025-03-14
- 0.12.16 — 2025-03-13
- 0.12.15 — 2025-03-13
- 0.12.14 — 2025-03-12
- … 140 more at https://npm.io/package/@palett/util-ansi/versions

## README

## @palett/util-ansi

### A color converter.

<p align="center">
  <a href="https://npmcharts.com/compare/@palett/util-ansi?minimal=true"><img src="https://img.shields.io/npm/dm/@palett/util-ansi.svg" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/@palett/util-ansi"><img src="https://img.shields.io/npm/v/@palett/util-ansi.svg" alt="Version"></a>
  <a href="https://www.npmjs.com/package/@palett/util-ansi"><img src="https://img.shields.io/npm/l/@palett/util-ansi.svg" alt="License"></a>
</p>

## Usage

### ES6

    import { Rgb, Hsl } from '@palett/util-ansi'

### CommonJS

### Browser

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2019-present, Haoyang Wang

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