Skip to content

🎨 Stupidly simple JS library to suggest you a good looking gradient

License

Notifications You must be signed in to change notification settings

renebrandel/adaptive-gradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adaptive-gradient npm version

A super simple JS library that suggests you a background gradient with font-color shading suggestion.

Image

Installation:

npm install -S adaptive-gradient

Javascript:

var gradient = require('adaptive-gradient');
console.log(gradient('#ba1c1c'));

Output:

{
  start: 'BA1C1C',
  end: 'C7437A',
  fontShouldBeLight: true
}

About

🎨 Stupidly simple JS library to suggest you a good looking gradient

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published