summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/color.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/compiler/color.typ b/tests/typ/compiler/color.typ
index 86dd1542..ec1f9902 100644
--- a/tests/typ/compiler/color.typ
+++ b/tests/typ/compiler/color.typ
@@ -32,6 +32,11 @@
#box(square(size: 9pt, fill: color.hsv(col)))
---
+// Colors outside the sRGB gamut.
+#box(square(size: 9pt, fill: oklab(90%, -0.2, -0.1)))
+#box(square(size: 9pt, fill: oklch(50%, 0.5, 0deg)))
+
+---
// Test hue rotation
#let col = rgb(50%, 64%, 16%)