I often have the need to insert a colour code into a project. I've been using a colour option from the Object Inspector and copied/paste the result, then change the property back to it's original value (if I remembered what it was !!), which was becoming a bit of a pain. So I rattled what few brain cells I have and quickly came up with the attached project. It's a very small footprint and a minimum amount of code. Hopefully someone might find it as useful as I'm finding it.
Tips...click in each value field to copy the value to the clipboard. Because it's a very small footprint, in Windows there's no room for the title and the min/max border icons, so to minimize use the numeric - key. The bottom combo box holds all the common colour names. The app can be resized should the value text spill outside of the panel.
The app displays to the right of the screen (purely for my selfish needs), it will also stay on top of other windows.
The Colour Picker exe.zip contains a Linux and Windows compiled executable. Colour Picker.zip is the project.