• Stars
    star
    130
  • Rank 268,518 (Top 6 %)
  • Language
    JavaScript
  • Created about 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Interactive Drag & Drop Coloring with Material Design Color palette

Colordrop

Interactive Drag and Drop Coloring


Colordrop Interactive Drag and Drop Coloring

Color a website by dragging and dropping a color droplet from a palette.

Installation

Chrome Extension: Download from Chrome WebStore

or

Bookmarklet:

Just add this into the URL section of a new bookmark:

javascript:(function(){var el=document.createElement('script');el.type='text/javascript';el.src='https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js';el.onerror=function(){alert("Looks like the Content Security Policy directive is blocking the use of bookmarklets\n\nYou can copy and paste the content of:\n\n\"https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js\"\n\ninto your console instead\n\n(link is in console already)");console.log("https://rawgit.com/ApoorvSaxena/colordrop/master/dist/production.min.js");};document.getElementsByTagName('body')[0].appendChild(el);})();

Mozilla has a step by step description on how to add a bookmarklet.

Or alternatifly just copy and paste the content of production.min.js to your browser console.

You need to fall back to the browser extension or the copy and paste version for sites that block external scripts in their Content Security Policy directives.


Usage

Drag a color from the color palette(inspired by Material Design) to a website and color designated areas of it (like sections or texts). One can drag a color from the color palette and drop it on any area that lights up with a blue outline, including text elements.

Once the droplet that you are dragging gets dropped on a content area, a fun little Google Material like animation happens and the whole area gets filled with a colored circle.


Browser Support

Colordrop works best on latest browsers supporting transitions.

For all non-supported browsers, the extension does nothing and fallbacks to normal behavior without any explicit handling in your code.


License

Copyright (c) 2015 Apoorv Saxena, http://apoorvsaxena.github.io Licensed under the MIT license.


Credits

Mary Lou - for her contribution interactive drag and drop coloring concept.

More Repositories

1

lozad.js

🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more
JavaScript
7,372
star
2

materialize-css-templates

Open source responsive material design web templates using Materialize CSS contains blog template, admin dashboard template and product page template
HTML
43
star
3

async-resolver

⚖️ Asynchronously resolve subscribed decisions in pub-sub architecture in pure JS
JavaScript
15
star
4

Bitly-Bot

Get Real Time Bursting and Hot Topics using Bitly's Social Data APIs on command line with Most Popular Story Link.
Ruby
9
star
5

awesome-images

Collection of awesome things regarding image optimisations and utility
4
star
6

awesome-third-party-javascript-library-helpers

A curated list of libraries to use when building third party javascript library.
4
star
7

stock-market

JavaScript
2
star
8

Facebook-Share-Chrome-Extension

This chrome extension allows the user to share a URL with custom image, title and description.
JavaScript
2
star
9

Somoji

Sound for Emojis 🥳
HTML
2
star
10

Objective-Hash-Ruby-

It creates variables of a Hash using its key-value pairs at the time of initialization
Ruby
2
star
11

Word-Hash

Creating a word hash of a file with and without using MapReduce approach.
Ruby
1
star
12

Searching

Ruby Script implemented to searching text in files....
1
star
13

JavaScript-Apps-for-Appdok

These JavaScript Applications are written to run on Appdok Platform(appdok.com) are available in the AppDok App Store.
JavaScript
1
star
14

SecretSanta

Help Santa find all gifts before Christmas and return them back to MerryLand.
JavaScript
1
star
15

native-constants.js

Access unpolluted Native Constants (window.* variables) in JavaScript, very helpful for JS libraries that run on 3rd party websites.
JavaScript
1
star