# is-color-dark

> Check if color is dark to light

Latest version **0.0.1** (published 2022-01-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install is-color-dark
pnpm add is-color-dark
yarn add is-color-dark
bun add is-color-dark
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-01-04 |
| First published | 2022-01-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anas Ikhlas |
| Maintainers | anasikhlas |
| Keywords | is-dark, is-light, is, color, dark, is, color, light, dark, light |

## Links

- npm: https://www.npmjs.com/package/is-color-dark
- Repository: https://github.com/AnasOnGit/is-color-dark
- Homepage: https://github.com/AnasOnGit/is-color-dark#readme
- Issues: https://github.com/AnasOnGit/is-color-dark/issues
- npm.io page: https://npm.io/package/is-color-dark

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2022-01-04

## README

# Check if color is dark or light

Supported color formats: RGB, HEX and HSL.

## Installation


```terminal
npm install is-color-dark
```

## Usage

```javascript
import { isColorDark } from "is-color-dark";

console.log(isColorDark("#000000")); //true
console.log(isColorDark("#FFFFFF")); //false
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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