> pictools > doc > pickcolor
> pictools > doc > pickcolor
Pictools: Building Sites and Pages
V3.3 (445)
pickcolor
/pictools/pickcolor
Color chooser web page
pickcolor window
The pickcolor webpage

Pickcolor displays the whole gamut of colors, named and not, in a web page as shown at the right. As its instructions say:

Slide the slider to see all hue pages
Click an end button for the grays or all colors
Or enter a hue number in the bottom hsl box

Click a color spot or grid square to see its codes.
Click a code to put it in the cut buffer.

Clicking the gray-scale button left of the slider puts "gray" in the hsl box; Clicking the right button shows all named colors.

The "codes" are shown thusly in a popup box:

"codes" box for limegreen

When you click any one of the codes--#,rgb,hsl, or color name--that code is copied to the cut buffer, ready to be pasted to whereever. Clicking the link will take you to the Wikipedia page for that color; this is seldom useful.

The list of named colors is derived from wikipedia's list of colors as massaged in a spreadsheet. The contents of its "combined-rationalized" worksheet are then manually saved to colorlist.csv, which is read by pickcolor.php.

File colorlist.csv is saved in character in what Excel calls mode "CSV UTF-8 (Comma-delimited) (*.csv). It must be edited only with tools that can save it back in UTF-8 encoding. Applications should read colorlist.csv with physpics.com.tools.SSColor. Calling its method continuations("") will return a list of all colors.

For more on Physpics color tools, see my essay on colortools.

 
Copyright © 2023 ZweiBieren, All rights reserved. Feb 5, 2023 17:05 GMT Page maintained by ZweiBieren