Color Picker demo
The Color Picker demo consists of 2 Web Controls:
- The Color Picker Web Control is a helper class that dislays the Display Palette. (It is called twice: once for background color and once for the text color.)
- The Color Editor Sample Web Control is added to the project's default web page.
Code for both Web Controls is in the App_Code folder.
Note the use of AJAX to update the control.
Instructions
- Click the top color palette to set the back color of the Sample text color.
- Click the bottom color palette to set the text color of the Sample text color.
- Transparent is used to make the color transparent.
- Enter six hexadecimal characters to select a color not in the color palette.