websanova/rgbHex — pull request #2 by amitayd (2013-09-27 09:22:11+00:00)
Title: return 'transparent' for rgba(0, 0, 0, 0) (white space insensitive)

Couldn't select the transparent color using wPaint and tracked it all the way down here.
It seemed that jQuery (or my Chrome browser are converting background-color:transparent to rgba(0,0,0,0) **when the element is added to the DOM tree** (took me some time to figure this out).

See the following code that I (a similar thing occurs on wColorPicker):
```javascript
el = $("

");
el.css('backgroundColor');
//"transparent"

$('body').append(el);
el.css('backgroundColor');
//"rgba(0, 0, 0, 0)"
```

Tested it in wPaint through building wColorPicker.
Didn't want to include the distributable files in the pull request, so the minimized files (and version number) remain the same.

Thanks for all your excellent work, learned a lot reading through the code!