# skintone

> Detect if a color value is a shade of skin.

Latest version **1.0.0** (published 2015-03-17) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-03-17 |
| First published | 2015-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Param Aggarwal |
| Maintainers | paramaggarwal |
| Keywords | skin, skintone, detect, color, colour, nudity, flesh |

## Links

- npm: https://www.npmjs.com/package/skintone
- Repository: https://github.com/paramaggarwal/skintone
- Issues: https://github.com/paramaggarwal/skintone/issues
- npm.io page: https://npm.io/package/skintone

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

- 1.0.0 (latest) — 2015-03-17
- 0.2.0 — 2015-03-17
- 0.1.0 — 2015-03-17
- 0.0.2 — 2015-03-17
- 0.0.1 — 2015-03-17

## README

# skintone

Detect if a color value is a shade of skin.

# Installation

```
npm install skintone
```

# Usage

```
var isSkin = require('skintone');

// skin shade
console.log(isSkin(194, 144, 125));
-> true 

// red apple shade
console.log(isSkin(229, 13, 42));
-> false

```

# Author

```
/*
 * Pulled into a separate npm module from
 * https://github.com/pa7/nude.js/blob/master/noworker.nude.js
 * by Param Aggarwal (http://paramaggarwal.com)
 * 
 * Original License:
 * Nude.js - Nudity detection with Javascript and HTMLCanvas
 * 
 * Author: Patrick Wied ( http://www.patrick-wied.at )
 * Version: 0.1  (2010-11-21)
 * License: MIT License
 */
```

# License

MIT

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