block by eesur 14284d9219e07231dd89

d3 | hello colour hue

Full Screen

Based on example from Generative Design Hello, Color P.1.0 book

The ability to directly influence 16, 777, 216 colours gives us amazing freedom. Simultaneous contrast–without which it would be be possible to perceive colors–is illustrated here by juxtaposing a number of color combinations…

The x-value of the mouse position defines the size of the inside colour field, the y-value the hue.

index.html

d3_code_hello_colour.js

main.css