Color Tools: Color Picker and Color Value Slider

Category:
Screen/Graphics
Type:
Controls
Difficulty:
Advanced
Author:
Nathan Moschkin

Version Compatibility: Visual Basic 6

More information:
This is a very sophisticated color space toolbox close to completion. I don't think I'll ever be able to call it final for commercial purposes, but I do intend on using these controls (or future modifications) in my own applications, they are good enough for me.

Included are two Active-X controls: ColorSpace; a very versatile palette / color-picker, and ValueSlider; which lets you pick from ranges of Red, Green, Blue, Hue, Saturation, Value, Cyan, Magenta, Yellow or shades of a color. It automatically updates with the tones, very nice display (sort of like photoshop). The ColorSpace control can be either a Wheel or rectangular, using HSV computations. Virtually every equation takes the color into HSV space before computations are done, which is part of the reason why they aren't particularly accurate in an RGB setting such as the desktop.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download colortools.zip