Hi all,
after asking for a function to set a color by HEX values (here), I created a small custom widget to show any valid HEX color values as a preview. Because the HEX colors can have a opacity/transparency value as postfix, I added this too.
Setting a background color is just as possible as firing an error event (MissingColor)
In the javascript section it is also possible to configure whether the color value should be displayed as an overlay or not
Inside the widget
Properties
In use: color without and with opacity
[customWidget-HEX-ColorViewer-3 (Opac) (Tulip).json|attachment]
Disclaimer: this widget comes as is. You use this widget at your own risk and without any guarantee or liability.
I hope it is useful
(upload://9FO4p1XDJ3DWiAaLtPHBCCLJWn3.json) (4.4 KB)
Regards Chris