Skip to content

Commit 555c208

Browse files
committed
feat(tools): add CSS color mixer tool
1 parent 7e48579 commit 555c208

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Color mixer tool
3+
slug: Web/CSS/color_value/color-mix/color-mixer-tool
4+
page-type: guide
5+
sidebar: cssref
6+
---
7+
8+
This tool lets you mix two colors, `color-one` and `color-two`, using the [`color-mix()`](/en-US/docs/Web/CSS/color_value/color-mix) function. The source colors are shown on the outside, and the mixed color is shown in the middle. You can change colors by clicking on them and choosing a new color using the resulting color picker. You can also change the percentage of each color included in the mix using the sliders, and the color space using the drop-down menu.
9+
10+
{{EmbedGHLiveSample("css-examples/tools/color-mixer/", '100%', 400)}}
11+
12+
## See also
13+
14+
- {{CSSXref("<color>")}}
15+
- {{CSSXref("<color-interpolation-method>")}}
16+
- {{cssxref("<hue>")}}
17+
- [CSS relative colors](/en-US/docs/Web/CSS/CSS_colors/Relative_colors)

files/sidebars/cssref.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sidebar:
3131
- /Learn_web_development/Core/Styling_basics/Debugging_CSS
3232
- /Learn_web_development/Core/Styling_basics/Fundamental_CSS_comprehension
3333
- /Learn_web_development/Core/Styling_basics/Fancy_letterheaded_paper
34-
- /Learn_web_development/Core/Styling_basics/Cool-looking_box
34+
- /Learn_web_development/Core/Styling_basics
3535
- link: /Learn_web_development/Core/Text_styling
3636
title: CSS_text_styling
3737
details: closed
@@ -354,6 +354,7 @@ sidebar:
354354
- /Web/CSS/CSS_backgrounds_and_borders/Border-image_generator
355355
- /Web/CSS/CSS_backgrounds_and_borders/Border-radius_generator
356356
- /Web/CSS/CSS_shapes/Shape_generator
357+
- /Web/CSS/color_value/color-mix/color-mixer-tool
357358
l10n:
358359
de:
359360
Beginners: Einsteiger-Tutorials

0 commit comments

Comments
 (0)