Socket
Socket
Sign inDemoInstall

adaptive-gradient

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

adaptive-gradient

A JS library to auto-suggest nice looking gradients and recommendation on font-color


Version published
Maintainers
1
Weekly downloads
102
decreased by-37.8%

Weekly downloads

Readme

Source

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
}

FAQs

Last updated on 11 Dec 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc