diff options
| -rw-r--r-- | crates/typst/src/geom/color.rs | 2 | ||||
| -rw-r--r-- | tests/ref/compiler/repr-color-gradient.png | bin | 50046 -> 50034 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/geom/color.rs b/crates/typst/src/geom/color.rs index 5bfb93c3..3801dbab 100644 --- a/crates/typst/src/geom/color.rs +++ b/crates/typst/src/geom/color.rs @@ -1409,7 +1409,7 @@ impl Repr for Color { } Self::Cmyk(c) => { eco_format!( - "rgb({}, {}, {}, {})", + "cmyk({}, {}, {}, {})", Ratio::new(c.c as _).repr(), Ratio::new(c.m as _).repr(), Ratio::new(c.y as _).repr(), diff --git a/tests/ref/compiler/repr-color-gradient.png b/tests/ref/compiler/repr-color-gradient.png Binary files differindex 36747d45..95136c1a 100644 --- a/tests/ref/compiler/repr-color-gradient.png +++ b/tests/ref/compiler/repr-color-gradient.png |
