Skip to main content
100%

RGB color theory

✓ Published1🌍 Public
NNita
Last edited Feb 15, 2020
Created on Feb 15, 2020
Forked from RGB color theory

Three overlapping semi-transparent red, green, and blue squares form the classic RGB color-mixing diagram, revealing secondary colors where they intersect. The React components `MyRect` and `MyCircle` render SVG rectangles with configurable fill, opacity, and positioning, while D3 v5 supplies the scaling and layout logic in the background. Static SVG shapes are composed in a React component tree, with each square’s blend determined by a fixed opacity value of 0.9.

AI-generated description

Smiley Face Part I (with React)

MIT Licensed

Similar vizzes