Skip to content
nwhittakerPublic
forked from gyoshev/cuttle

About

Find the color transition function between two colors

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

Cuttle

Cuttle suggests color transition functions based on provided examples.

API Reference

suggest(from, to)

Suggests color functions that map from the from color to the to color. Returns an array of suggestions, sorted by difference from the target color.

var suggestions = cuttle.suggest("#000", "#333");

// suggestions = [
//    { difference: 0, format: "lighten(@input, 20%)" }
// ]

About

Find the color transition function between two colors

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages