colorjoe icon indicating copy to clipboard operation
colorjoe copied to clipboard

Feature: allow transparent (null) values

Open sampotts opened this issue 8 years ago • 1 comments
trafficstars

I couldn't work out a way to allow/set a transparent color - i.e. a null value. The colorpicker simply reverts back to #000000 due to this: https://github.com/bebraw/colorjoe/blob/master/src/colorjoe.js#L245

I'll have a bash and raise a PR if that's ok?

Cheers 👍

sampotts avatar Dec 05 '16 07:12 sampotts

Yeah, PR welcome.

bebraw avatar Dec 05 '16 07:12 bebraw