Closed hackhat closed 9 years ago
Hello, you should be able to call tinycolor(originalColor.toString())
. I've added a note to the documentation about this: https://github.com/bgrins/TinyColor#cloning
Yes, this is the current method I'm using. But using like this would be better myColor.clone()
than that. I can make a pull request if interested.
OK, sure! Can you add an instance method for clone and also add a new test function for it after the "Original input" function?
Closed by #105
I would like to copy or clone a color so any changes will not mess the source.