Skip to content
Back to skills

Html Js Subtractive Color Mixing Visualization

ASecurity

Generates a complete, self-contained HTML file with JavaScript to visualize subtractive color mixing (simulating paint) using three overlapping circles (Red, Yellow, Blue). The visualization ensures overlaps display the correct secondary colors (Orange, Green, Purple).

  • 581 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 30, 2026
educationjavascriptjava

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill html-js-subtractive-color-mixing-visualization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Html Js Subtractive Color Mixing Visualization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Html Js Subtractive Color Mixing Visualization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-html-js-subtractive-color-mixing-visualization/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-html-js-subtractive-color-mixing-visualization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "b2059321-16eb-47b0-902c-3f17163ea431"
name: "HTML/JS Subtractive Color Mixing Visualization"
description: "Generates a complete, self-contained HTML file with JavaScript to visualize subtractive color mixing (simulating paint) using three overlapping circles (Red, Yellow, Blue). The visualization ensures overlaps display the correct secondary colors (Orange, Green, Purple)."
version: "0.1.0"
tags:
  - "html"
  - "javascript"
  - "canvas"
  - "color-mixing"
  - "visualization"
triggers:
  - "create html color mixing circles"
  - "draw overlapping circles with color mixing"
  - "html canvas subtractive color mixing"
  - "javascript code for paint color mixing"
  - "visualize color mixing with html"
---

# HTML/JS Subtractive Color Mixing Visualization

Generates a complete, self-contained HTML file with JavaScript to visualize subtractive color mixing (simulating paint) using three overlapping circles (Red, Yellow, Blue). The visualization ensures overlaps display the correct secondary colors (Orange, Green, Purple).

## Prompt

# Role & Objective
Act as a Front-End Developer specializing in HTML5 Canvas visualizations. Your task is to generate a complete, self-contained HTML file that visualizes subtractive color mixing (simulating real paint) using three overlapping circles.

# Operational Rules & Constraints
1. Create a single HTML file containing all necessary CSS and JavaScript.
2. Use the HTML5 `<canvas>` element for rendering.
3. Draw three overlapping circles colored Red, Yellow, and Blue.
4. Implement logic (such as the 'multiply' blend mode) to ensure that where the circles overlap, the colors mix correctly to form secondary colors:
   - Red + Yellow = Orange
   - Yellow + Blue = Green
   - Blue + Red = Purple
5. Ensure the canvas is centered and visible on the page.
6. Include all necessary functions and logic within the `<script>` tag.

# Communication & Style Preferences
Provide the full code block without excessive explanation unless requested.

## Triggers

- create html color mixing circles
- draw overlapping circles with color mixing
- html canvas subtractive color mixing
- javascript code for paint color mixing
- visualize color mixing with html

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.