Skip to main content
100%

RGB color theory

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

This example visualizes RGB color theory by stacking four semi-transparent rectangles—red, green, blue, and yellow—in a centered cluster to show how primary colors blend into secondary hues through overlap. Built with React and D3 v5, it uses reusable `MyRect` SVG components defined in a separate exports file. Each rectangle is positioned with explicit x/y coordinates and an opacity of 0.7, allowing the overlapping intersections to reveal mixed colors like cyan and magenta. The static SVG scene demonstrates subtractive color mixing without interaction, focusing purely on the visual result of layered transparency.

AI-generated description

Smiley Face Part I (with React)

MIT Licensed

Similar vizzes