RGB Color Picker
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jun 8, 2015
This interactive RGB color picker displays three horizontal channel strips (red, green, blue) as Canvas gradients, each with a draggable marker. The current color is composed from the selected values in all three channels, shown as a white/black marker line. The visualization uses D3 v3 with `d3.scale.linear`, `d3.interpolateRound`, `d3.svg.axis`, and the `d3.behavior.drag` interaction. Each strip is rendered with `createImageData` and `putImageData` on the Canvas, while SVG axes provide tick labels.
AI-generated descriptiongpl-3.0 Licensed