Page 1 of 1

Colour 'Value' Converter

Posted: Friday 19th February 2021 5:45pm
by stevedee
While working on a colour recognition project, I needed a simple tool to convert between colour RGB <> Hex <> integer, and to display a colour patch for comparison.
ColourConverter.png
ColourConverter.png (34.75 KiB) Viewed 3109 times
The entered value is also copied to the system Clipboard.

Maybe this is of use to someone.
ColourDisplay.tar.gz
(14.19 KiB) Downloaded 305 times

Re: Colour 'Value' Converter

Posted: Friday 19th February 2021 7:36pm
by BruceSteers
ooh , handy :)
Thanks Steve :)

Re: Colour 'Value' Converter

Posted: Tuesday 23rd February 2021 5:51pm
by cogier
I thought this was a good idea and wondered if you could also pick a colour from the screen. I discovered that the ColorChooser does most of what your program does already. Anyway I messed about and came up with the attached program should anybody be interested. I may have also found a bug with ColorChooser as I can't get some events to trigger. I have posted that query on the mailing list.

Image
ColourDisplay2-0.0.3.tar.gz
(12.24 KiB) Downloaded 312 times