Fix cmyk repr (#2682)
This commit is contained in:
parent
f39a8bc015
commit
7aef798658
|
|
@ -1409,7 +1409,7 @@ impl Repr for Color {
|
||||||
}
|
}
|
||||||
Self::Cmyk(c) => {
|
Self::Cmyk(c) => {
|
||||||
eco_format!(
|
eco_format!(
|
||||||
"rgb({}, {}, {}, {})",
|
"cmyk({}, {}, {}, {})",
|
||||||
Ratio::new(c.c as _).repr(),
|
Ratio::new(c.c as _).repr(),
|
||||||
Ratio::new(c.m as _).repr(),
|
Ratio::new(c.m as _).repr(),
|
||||||
Ratio::new(c.y as _).repr(),
|
Ratio::new(c.y as _).repr(),
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue