Tweening color middleware
Color middleware for tweening.
1.1kb gzipped.
Usage
Currently supports hex, rgb and rgba colors:
;; ;
CommonJS
This is how you get to the good stuff if you're using
require
.
const TweeningColorMiddleware = ;const colorMiddleware = TweeningColorMiddlewaredefault;
UMD
And if you just want to smash in a Javascript file you're also covered. Drop this in place ...
https://npmcdn.com/tweening-color-middleware@1.2.0/dist/tweening-color-middleware.min.js
Then access it on the TweeningColorMiddleware
global variable.
const colorMiddleware = TweeningColorMiddlewaredefault;
Help make this better
Issues and pull requests gratefully received!
I'm also on twitter @colinmeinke.
Thanks 🌟
License
ISC.