coffee-black-egg-white
所属分类:人工智能/神经网络/深度学习
开发工具:TypeScript
文件大小:59KB
下载次数:0
上传日期:2023-01-04 23:47:58
上 传 者:
sh-1993
说明: 以编程方式创建色盲安全调色板。
(Create color-blind safe palette programmatically.)
文件列表:
.prettierrc (121, 2019-10-31)
jest.config.js (70, 2019-10-31)
nodemon.json (98, 2019-10-31)
package-lock.json (265574, 2019-10-31)
package.json (1137, 2019-10-31)
src (0, 2019-10-31)
src\color-blind-check.ts (1819, 2019-10-31)
src\index.ts (2879, 2019-10-31)
src\range.ts (487, 2019-10-31)
src\test (0, 2019-10-31)
src\test\create-palette.test.ts (4514, 2019-10-31)
src\types.ts (189, 2019-10-31)
tsconfig.json (754, 2019-10-31)
tsconfig.node.json (482, 2019-10-31)
# coffe black egg white
> I am colorblind
> Coffee black and egg white
> Pull me out from inside
_From Counting Crows “ Colorblind Lyrics_
## Intro
Create color-blind safe palette programmatically.
A packaged Typescript port of [palette tool](https://gka.github.io/palettes) from [Gregor Aisch](https://twitter.com/driven_by_data) svelte code.
Gregor's palette tool is a nice thing and there is no reason to hide the re-usable logic inside a svelte template.
Uses [chroma.js](https://github.com/gka/chroma.js).
Color blind transformations are based on [color-blind](https://github.com/skratchdot/color-blind) repository from [skratchdot](https://twitter.com/skratchdot).
## Install
```sh
npm i coffe-black-egg-white
```
or
```sh
yarn add coffe-black-egg-white
```
近期下载者:
相关文件:
收藏者: