I have previously posted the original version of this colour converter utility when replying to several questions over the last year. However, as I had trouble finding it, I am now posting an updated version here.
This is a simple application to demonstrate two different methods for selecting and converting colours
1. The colour converter
utility can be used to select a colour and view its OLE colour, RGB and HEX values OR to convert colour values between these formats
This is a modified version of a utility by Daniel Pineault which is available at his DevHut website
2. The colour categories
utility is intended to assign colours to particular types of event in e.g.a calendar event application.
It also includes the use of the MS colour picker
To use either of these in your own applications:
1. Colour converter
Copy the form frmColourConverter and module modColourConvert
2. Colour categories
Copy the form frmColourCategories, rptCalendarCategories and module modColorChooser
See this post
by The_Doc_Man for a very clear & detailed explanation of how RGB & hex colour values are related