Skip to content

A D3 color picker component. It's a color picker...and a slippy map.

Notifications You must be signed in to change notification settings

cutting-room-floor/slippy-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A D3 color picker component. It's a color picker...and a slippy map.

Based on Eric Fischer's perceptually accurate color spectrum, using Tom MacWright's JavaScript implementation.

See it in action.

usage

d3.select('body')
    .append('div')
    .call(ColorPicker()
         .width(700)
         .height(500)
         .on('mouseup', function(c) { console.log(c) }));
             // or whatever you want to do with the hex color returned on click

About

A D3 color picker component. It's a color picker...and a slippy map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •