color-picker
color-picker copied to clipboard
ColorPicker does not log RGB
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