Code Sample
JavaScript
- Pantone Color Collector
- The link above will take you to a widget that serves little purpose beyond demonstrating solid Object Oriented JavaScript programming and manipulation of the DOM.
- What it does: the script takes a JSON object containing all of the Patone colors along with their HEX values (provided by my friend Jon Plummer), shuffles them up and feeds them to you one at a time. You may then select No, refreshing the color, or Yes, which creates a new list item on the right and also gives you another color.