Colour 'Value' Converter

Post

Posted
Rating:
#1 (In Topic #589)
Avatar
Regular
stevedee is in the usergroup ‘Regular’
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.

Attachment

The entered value is also copied to the system Clipboard.

Maybe this is of use to someone.

Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#2
Banned
ooh , handy :)  
Thanks Steve  :)
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’
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.

<IMG src="https://www.cogier.com/gambas/ColourTool.png"> </IMG>

Attachment
Online now: No Back to the top
1 guest and 0 members have just viewed this.