summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/utility/color.typ6
1 files changed, 6 insertions, 0 deletions
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%))