Color Picker (JavaScript Version)

Source: Internet
Author: User
Document directory
  • Construction Methods of 216 WEB safe color types
  • Some color picker links:
  • Color picker in ext JS
Color Picker
Construction Methods of 216 WEB safe color types

VaR Cl = ['00', '33', '66', '99', 'cc', 'ff'];
VaR clist = [];
For (VAR r = 0; r <CL. length; r ++)
For (var g = 0; G <CL. length; G ++)
For (VAR B = 0; B <CL. length; B ++)
Clist [clist. Length] = Cl [R] + cl [g] + cl [B];

Some color picker links:

1. colorpicker v3.1 by Joe Barta, pagetutor.com
Http://www.pagetutor.com/colorpicker/index.html
Http://www.pagetutor.com/colorpicker/picker2/index.html colorpicker v2
2. Photoshop-like JavaScript color picker by John Dyer
URL: http://johndyer.name/post/2007/09/PhotoShop-like-JavaScript-Color-Picker.aspx
Here is an example. It is so powerful that it exceeds the Needs of the color picker on the regular network.
3. Timeout.
You can download it here.
4. Javascript Toolbox provides two implementation methods: the pop-up window method and the DHTML layer-based method. For details, see http://www.mattkruse.com/javascript/colorpicker /.
5. blueshoes colorpicker components seem cool. They have multiple versions, including Photoshop-like components and common 216 color picker, what is different is that it uses multiple tab pages for expression. Here is an example.
6. colorpicker of softcomplexg, which provides the Web security palette, Windows and Mac color palette, and grayscale color palette. For example, you can use the demo. It is currently free of charge. 6. The bigresource website has a webpage that lists multiple links of the color picker of the Javascript version.
Color picker in ext JS

For ext users, consider the port version of Collin Miller, http://code.google.com/p/ext-ux-color.
In addition, the color picker extensions in ext JS include:

  • The <canvas> Implementation of rpetrello, see http://ryanpetrello.com/ext-ux/ColorField. The color selection ring is displayed in Firefox, and the color panel Ext. colorpalette is displayed in IE7.
  • Bendy provided an extension in the extjs forum.
  • EXT user Amon also provides solutions in the extjs Forum. For details, see

2.0a: http://ux.theba.hu/colorpicker2/ for ext2, tested and ext2.0 Alpha compatible, but with ext2.0.2 compatibility problems.
1.1.1: http://ux.theba.hu/colorpicker/ for ext 1.1
The above ext JS implementation only provides the selection of 40 colors. To select 216 web colors, you can change Ext. the colors attribute of the colorpalette class. It is a color array with a hexadecimal color string (no #).

 

Others:

Http://www.softcomplex.com/products/tigra_color_picker/demo1.html
Http://www.softcomplex.com/products/tigra_color_picker/
Http://www.codeproject.com/KB/miscctrl/CPicker.aspx

 

Flash color picker

Color Picker component

Http://www.sephiroth.it/file_detail.php? Id = 145

Color Picker 2 component for flash

Http://www.sephiroth.it/file_detail.php? Id = 147

Flex2: Advanced colorpicker

Http://www.sephiroth.it/file_detail.php? Id = 150

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.