summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/geom/color.rs8
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: