diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-10-27 17:56:30 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-10-27 17:56:30 +0200 |
| commit | 4163b2eabc1df29741228838fdce9d428b662500 (patch) | |
| tree | d67cf41d1bc79031ef2da6377c08e15140498340 /crates | |
| parent | 24a0bd8cfb170a002b5266e4dfd3da007b4fc145 (diff) | |
Fix spelling of sRGB
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/geom/color.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/typst/src/geom/color.rs b/crates/typst/src/geom/color.rs index 8c12483b..79615fee 100644 --- a/crates/typst/src/geom/color.rs +++ b/crates/typst/src/geom/color.rs @@ -337,10 +337,10 @@ impl Color { /// Create an RGB(A) color with linear luma. /// - /// This color space is similar to Srgb<f32>, but with the distinction that - /// the color component are not gamma corrected. This makes it easier to - /// perform color operations such as blending and interpolation. Although, - /// you should prefer to use the [`oklab` function]($color.oklab) for these. + /// This color space is similar to sRGB, but with the distinction that the + /// color component are not gamma corrected. This makes it easier to perform + /// color operations such as blending and interpolation. Although, you + /// should prefer to use the [`oklab` function]($color.oklab) for these. /// /// A linear RGB(A) color is represented internally by an array of four /// components: |
