Skip to main content
100%

TODO

✓ Published0🌍 Public
11wheel
Last edited Aug 10, 2021
Created on Jul 20, 2021

This interactive tool visualizes color scales by plotting Bézier curves through multiple color spaces, including RGB, HSL, HCL, Lab, and Cubehelix. Users can edit input colors, adjust the number of output stops, and click to switch between basis and linear curve interpolation across each space’s channels. The page renders using SVG and includes animated draggable points on channel charts, with the current state shared via the URL. Forked from d3-based code by 1wheel, it addresses issues in Gregor Aisch’s Color Palette Helper for diverging scales.

AI-generated description

Based on https://gka.github.io/palettes/

Great tool, but gets wonky with diverging color scales

https://gka.github.io/palettes/#/99|d|002854,a1ffe1,b2b2b2|b2b2b2,f47e2a,9e005c|1|1

https://gka.github.io/palettes/#/99|d|00429d,96ffea,cccccc|cccccc,ff005e,93003a|1|1

https://github.com/d3/d3-color

rgb

hsl

hcl

lab

cubehelix

NO

hsv

hsi

TODO

range round

x input colors

x color band for each

x state in url

x output colors

x link to colormap

  • colorblind

  • black boxes on safari

  • tidy code

Similar vizzes