Solved
Forum Discussion
royd
6 years agoRegular Contributor
Hi Robert
Sorry for delayed response. It took me a while but finally figured it out. Thanks for pointing me to right direction. This is what finally worked:
var previewColor = previewSwatch.ownerDocument.defaultView.getComputedStyle(previewSwatch, "").backgroundColor;
TanyaYatskovska
Alumni
6 years ago