color-picker icon indicating copy to clipboard operation
color-picker copied to clipboard

ColorPicker does not log RGB

Open dukman83 opened this issue 6 years ago • 0 comments

Hi, Can I please get some help with regards to the ColorPicker plug-in.

So far, I’ve managed to implement the picker successfully and log the output of the selected colour to the console by logging it as “console.log(colors.color).

The problem is that it only logs the colour in HEX, rather than RGB. According to the API, RGB is the default mode, however, this does not appear to be the case.

I’ve even manually added “mode={‘RGB’} in the render of the ColorPicker element, but it still fails to print in RGB.

I'd really appreciate help with this.

Thanks

dukman83 avatar Jun 12 '18 18:06 dukman83