https://github.com/rileyjshaw/mute-color
:mute: Takes a color that's meant to stand out against your editor's background and makes it shy.
https://github.com/rileyjshaw/mute-color
Last synced: 6 months ago
JSON representation
:mute: Takes a color that's meant to stand out against your editor's background and makes it shy.
- Host: GitHub
- URL: https://github.com/rileyjshaw/mute-color
- Owner: rileyjshaw
- License: mit
- Created: 2016-05-12T19:39:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-12T20:44:20.000Z (over 9 years ago)
- Last Synced: 2025-03-03T04:17:27.928Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mute-color
Takes a color that's meant to stand out against your editor's background and
makes it shy. Used in [literate-theme](https://github.com/rileyjshaw/literate-theme).## Installation
```sh
npm i -S mute-color
```## Usage
Pass a hand-picked muted color into the module. A function is returned that
brings other colors to the same level of muted-ness.```js
const mutedColor = '#a8b8b8';
const toMuted = require('mute-color')(mutedColor);
toMuted('#aabbcc'); // "#a6b0ba"
```## License
[MIT](./LICENSE)