|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2007-10-10 (11 years ago)||68%||Total: 3,398||All time: 1,000 This week: 497|
|truecolorpicker 1.0||Freely Distributable||4||Graphics, Content management, AJAX|
This class can be used to present a palette to let the user pick colors.
class.TrueColorPicker.php class.ColorElement.php Developed by: Moe Sweet <firstname.lastname@example.org> From: Myanmar (Burma) Date: 28-June-07 Thanks to: Sithu Kyaw, Pyone Kay Khine. Most color pickers used on the web today only support web colors. For some applications like a garment or a paint shop, each color code should reflect the color from the real world. TCP (True Color Picker) uses GD library to provide color picking facility as many colors as in "Photoshop" color picker. There is only one factor you have adjust, the "detail factor". It determines how many number of steps/blocks between each corner of the 256*256 picker box. Thus maximum is 256. When it is set to 256, the total number of colors available is 256*256*256. Minimum setting should not less than 16. Optimum is 64. You pick a color code using GD, you re-display it using GD. The "ColorElement" class can display any valid color codes (#000000 to #ffffff) in a variable size rectangle box. Drawbacks ---------------- You can preload a color to TCP to show in "current" box, like Photoshop. But TCP cannot locate that color in the picker. TCP does not support CMYK color. They may come up in version 2. ColorElement class does not support textures. Tested on: Firefox 2 and IE 6. Mail me for any questions, comments and suggestions for improvement. Happy Picking!
|index.php||Example||The one that shows the Color Picker|
|class.TrueColorPicker.php||Class||True Color Picker Class|
|class.ColorElement.php||Class||Color Element Class|
|buildBrightnessBox.php||Aux.||A file called by Ajax, no need to modify|
|buildBrightnessTable.php||Aux.||A file called by Ajax, no need to modify|
|drawColorElement.php||Aux.||This file actually draw the color elements|
|generateBrightnessArrays.php||Aux.||Algorithm for calculating color codes for brightness box|
|hueBox.png||Data||The Thin Vertical Bar, I call it Hue Box, the big one, Brightness Box|
|hueColors.txt||Data||List of color codes of hue box|
|Version Control||Unique User Downloads||Download Rankings|
|User Ratings||User Comments (2)|