moagrius / Color

abstract Color management class for JavaScript; discreet component manipulation; output formatting; conversions.
http://moagrius.github.io/Color/Color.html
MIT License
21 stars 9 forks source link

Fixes clone method to return new Color instead of alpha #9

Closed adamwulf closed 5 years ago

adamwulf commented 5 years ago

The clone method was returning the value from the alpha() method. it should return the new Color instead. the Color.ts seems to do this correctly already.

And many thanks for this :) it's a handy utility for managing colors!

moagrius commented 5 years ago

Thank you!