Colour Calculator

Ever had to match the colours of your web pages to that of a colour printer?
Well I have, and it was a right royal pain in the...........
 
The Colour Calculator is a small VB6 application I created to help me in the task. It can be used simply to generate codes for RGB colours or CMYK colours directly or to convert between the two. There is also a module to calculate tints of a given colour for those instances where variations on a base colour might be required. NEW in version 1.4 is the addition of 'Colour Wheel' equivilents, to assist in web design, and the nearest 'Web Safe' colour to the one displayed.
 
Colour Calculator Version 1.4, is not perfect, but it works for me and may help you out also. I plan to refine ColCal as and when I receive feedback from anyone who finds the program useful.
 
The program is supplied as is, with no warrantee express or implied. You are free to use, distribute, etc. as you you see fit. It comes as a zipped EXE file and is a VB6 app compiled to native code which uses only standard MS controls, therefore all you should need is the VB6 runtime to run it.
 
This is how it looks......
 

 


And this is how it works....
 
In the RGB panel, (top left), colours may be defined either by manipulation of the Red, Green and blue scroll bars or by entry of values into the R, G or B input boxes, (These values must be in the range 0 - 255), or by entering a Hexadecimal, (HTML), colour code in the HTML input box. The resultant colour is displayed in the colour pane above, the Hexadecimal equivilent for HTML is displayed below the scroll bars and the CMYK conversion is displayed beneath the HTML value.
 
(1.4) Other Colours Show four blocks of colour. The first three are 'colour wheel' equivilents whilst the fourth is the nearest 'Web Safe' colour to the one displayed in the RGB panel. The first colour is the true complementary colour, (opposite), to the one displayed in the RGB panel while the second and third are adjacent to it. In colour theory all four colours should go together to form a pleasing colour scheme. (I did say in theory!). This may give you some idea of what colours look good but, it's no substitute for good taste!
 
In the CMYK panel, (top right), colours may be defined either by manipulation of the Cyan, Magenta, Yellow and Key, (black), scroll bars or by entry of values into the C, M, Y or K input boxes. (These values must be in the range 0 - 100). The resultant colour is displayed in the colour pane above, the RGB conversion is displayed beneath the CMYK Scroll bars.
 
In the Tint panel, (lower right), a Tint of the colour currently displayed in the CMYK panel, (top right), May be defined either by manipulating the tint scroll bar or entering a percentage value in the tint input box. Both the RGB and CMYK values of the colour displayed in the Tint colour pane are shown beneath the Tint scroll bar.
 
The (1.4) Tint Calculator Panel Allows a variable tint of the CMYK panel to be selected, either by entry of a percentage value or by use of the slider provided.
 
In the Colour Picker, (lower left), the cursor or mousepointer, may be positioned over any color in the colour pane and the RGB code will be displayed in the RGB value beneath the colour pane. By 'Left-Clicking' the mouse over a selected point the indicated colour will be transferred to the RGB panel (top left). By 'Right-Clicking' the mouse over a selected point the indicated colour will be transferred to the CMYK panel (top right). (1.4) {This is also true of all the colour panels.}
 
By clicking the Link Button, (centre), the RGB and CMYK panels are linked together. This causes any changes made to the RGB panel to be instantley refelected in the CMYK panel and Vice Versa. (Please note: RGB gives a total of 256*256*256 = 16,777,216 colours whereas CMY gives a total of 100*100*100 = 1,000,000. Therefore conversions between the two protocols will always be approximate!)
 
The File Menu, Gives the option to Exit, Included only to give you a keyboard shortcut (Ctl+X). When the program is shut down the settings of the various options and controls are stored as the startup settings for your next visit to the application. The Restore option allows all the options and controls be reset to the startup settings. (1.4) Includes a Save option un thr file menu. This enables the user to save a colour scheme at any point, continue working and restore that scheme at any time.
 
The Settings Menu, Contains the Use Key (Black) setting. Where this setting is ticked all controls function as above. In addition when converting from RGB to CMYK the application will calculate a value for the Key, (Black), element. Whereas, if this setting is not ticked, The Key Scroll bar is disabled, its value set to zero and the Key colour value will NOT be calculated by the RGB to CMYK conversion. This then produces CMY colours which are required for 3 ink printers. (1.4) Added a 'Use Tool Tips' Option. When selected holding the mouse over any colour panel displays the colour's Hexadecimal RGB Code.
 
Download v1.4 Now.....(24k Zipped)
Download v1.3 Now.....(23k Zipped)
Read how it's done

 
I'm Working on Version 1.5, as and when I have time!
Any comments, suggestions or bug reports, please contact me at


E-Mail Mick Tilbury
colcalc@btopenworld.com

Download v1.4 Now
(24k Zipped)
Download v1.3 Now
(23k Zipped)

Read how it's done