Skip to content

Takes in a list of colors, and selects one that fits within the specified percentage.

License

Notifications You must be signed in to change notification settings

DynamicTyped/amalgamatr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amalgamatr.js

Takes in a list of colors, and selects one that fits within the specified percentage.

Usage:

  var colors = ['#ff0000', '#00ff00', '#0000ff'];
  var newColor = $.ColorFromGradient(colors, 0.25);

Works with some standard color names, hex colors, rgb() and rgba(). Outputs a color using rgba().

About

Takes in a list of colors, and selects one that fits within the specified percentage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published