diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/visualize/color.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/visualize/color.rs b/crates/typst/src/visualize/color.rs index 17f4b5a4..52706a96 100644 --- a/crates/typst/src/visualize/color.rs +++ b/crates/typst/src/visualize/color.rs @@ -1721,7 +1721,7 @@ impl Cmyk { } fn from_luma(luma: Luma) -> Self { - let l = luma.luma; + let l = 1.0 - luma.luma; Cmyk::new(l * 0.75, l * 0.68, l * 0.67, l * 0.90) } |
