Color picker for Jmol
Concept and design by SÚrgio Ceroni da Silva.
Code modifications by Angel Herráez.
Pick color for currently selected part of molecule:
Pick color for background:
Instructions for re-using this code:
- Get the color-picker.js support file.
- In your page, include a call to color-picker.js in the HEAD and, wherever you want a color palette, a call to writeColorPicker() function.
- Instructions for using the function are inside color-picker.js
- Messages (in tooltips and status line) can be customized by editing color-picker.js