Create a Color Palette | JavaScriptSource

Create a Color Palette

David Walsh May 16, 2008

General

Have you ever wanted to let others know the color palette that you use on your Web site? Or perhaps you need to figure it out yourself. This small script, along with a copy of MooTools (included), will create a palette of your Web page (images not included) that would please even the likes of Pablo Picasso.


View the demo here

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: moo1.2.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(0 comments)