Skip to content

🔇 Takes a color that's meant to stand out against your editor's background and makes it shy.

License

Notifications You must be signed in to change notification settings

rileyjshaw/mute-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mute-color

Takes a color that's meant to stand out against your editor's background and makes it shy. Used in literate-theme.

Installation

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.

const mutedColor = '#a8b8b8';
const toMuted = require('mute-color')(mutedColor);
toMuted('#aabbcc');  // "#a6b0ba"

License

MIT

About

🔇 Takes a color that's meant to stand out against your editor's background and makes it shy.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published