diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-27 16:09:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-27 16:09:43 +0200 |
| commit | 1a7ce3da02a25900dcdc09c110fe00229fd193d4 (patch) | |
| tree | 0987ff06d52f5eb6a2aaa2d9cf8a91fb1aa2a076 /tests/typ | |
| parent | d4e59d4be1f4c0c673c5e22828348fc99a75facd (diff) | |
Luma color
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/utility/color.typ | 6 |
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%)) |
