ColorMyName
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bootstrap
ColorNames.js
README.md
index.html
jquery-2.0.2.min.js
main.css

README.md

[ColorMyName]

This little function is made to help everyone get familiar with color names of CSS, it's much easier to remember a cool name than a hex code.

Feel free to pull and submit your own colors with an intuitive name.

Quick start

** Initiate the class.

-> var colorNames = new ColorNames({ "numOfShades":10 });

** And get what you like. -> var _colorNames = colorNames.returnItems('all_names'); -> var _colorValues = colorNames.returnItems('all_indexed_obj');

** Options include:

-> "all", "all_names", "all_indexed_obj", "shades"

Examples

** You can view examples of this plugin here

===========