Skip to content

updated content to refer to one or more colors#43711

Merged
chrisdavidmills merged 5 commits intomdn:mainfrom
dletorey:43560-color-mix-multi-color-enabled
Apr 13, 2026
Merged

updated content to refer to one or more colors#43711
chrisdavidmills merged 5 commits intomdn:mainfrom
dletorey:43560-color-mix-multi-color-enabled

Conversation

@dletorey
Copy link
Copy Markdown
Contributor

@dletorey dletorey commented Apr 8, 2026

Description

  • Updated the content in color-mix() to refer to 1 or more colors rather than 2

Motivation

Related issues and pull requests

@dletorey dletorey requested a review from a team as a code owner April 8, 2026 15:47
@dletorey dletorey requested review from chrisdavidmills and removed request for a team April 8, 2026 15:47
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed labels Apr 8, 2026
@dletorey dletorey requested a review from dipikabh April 8, 2026 15:49
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Preview URLs (1 page)

(comment last updated: 2026-04-13 15:32:51)

Copy link
Copy Markdown
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, @dletorey.

The changes you've made look correct, but there are a couple of other things that need changing in light of this:

  1. It would be good to update the "Syntax" section to include a couple of examples with more than two colors
  2. The pseudo-syntax included at the top of the "Parameters" section is wrong and needs updating.
  3. Inside the "Color percentages" section:
    • "Each of the two colors" -> "Each color"
    • "The two color percentages" -> "When two colors are being mixed, the two color percentages"
  4. Inside the "Using hue interpolation in color-mix()" section: "hue values of the two colors being mixed" -> "hue values of the colors being mixed"

Copy link
Copy Markdown
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, let's get this in. Nice work, @dletorey!

@chrisdavidmills chrisdavidmills merged commit b272f3e into mdn:main Apr 13, 2026
9 checks passed
@dletorey dletorey deleted the 43560-color-mix-multi-color-enabled branch April 14, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants