Fix cmyk repr (#2682)

This commit is contained in:
frozolotl 2023-11-15 13:49:45 +00:00 committed by GitHub
parent f39a8bc015
commit 7aef798658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -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(),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB