summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/utility/color.pngbin168 -> 271 bytes
-rw-r--r--tests/typ/utility/color.typ6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/utility/color.png b/tests/ref/utility/color.png
index e7d87ba4..a03795f7 100644
--- a/tests/ref/utility/color.png
+++ b/tests/ref/utility/color.png
Binary files differ
diff --git a/tests/typ/utility/color.typ b/tests/typ/utility/color.typ
index 81b67ae9..449655bf 100644
--- a/tests/typ/utility/color.typ
+++ b/tests/typ/utility/color.typ
@@ -9,6 +9,12 @@
#test(rgb(255, 0, 0, 50%), rgb("ff000080"))
---
+// Test gray color conversion.
+// Ref: true
+#rect(fill: luma(0))
+#rect(fill: luma(80%))
+
+---
// Test CMYK color conversion.
// Ref: true
#rect(fill: cmyk(69%, 11%, 69%, 41%))