By Sergio Perciballi.
Draw a series of rectangles containing different colors. In the MouseMove event handler, display the color components of the color under the mouse. The values are shown in decimal and hexadecimal so you can easily use them on Web pages.
See the code for details.
|