Skip to content

Commit ae930c2

Browse files
committed
Fix documentation RGB links from HSV, HSL and HWB
1 parent 04f6988 commit ae930c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

palette/src/hsl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub type Hsla<S = Srgb, T = f32> = Alpha<Hsl<S, T>, T>;
2727
/// HSL color space.
2828
///
2929
/// The HSL color space can be seen as a cylindrical version of
30-
/// [RGB](rgb/struct.LinRgb.html), where the `hue` is the angle around the color
30+
/// [RGB](rgb/struct.Rgb.html), where the `hue` is the angle around the color
3131
/// cylinder, the `saturation` is the distance from the center, and the
3232
/// `lightness` is the height from the bottom. Its composition makes it
3333
/// especially good for operations like changing green to red, making a color

palette/src/hsv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub type Hsva<S = Srgb, T = f32> = Alpha<Hsv<S, T>, T>;
2626

2727
/// HSV color space.
2828
///
29-
/// HSV is a cylindrical version of [RGB](rgb/struct.LinRgb.html) and it's very
29+
/// HSV is a cylindrical version of [RGB](rgb/struct.Rgb.html) and it's very
3030
/// similar to [HSL](struct.Hsl.html). The difference is that the `value`
3131
/// component in HSV determines the _brightness_ of the color, and not the
3232
/// _lightness_. The difference is that, for example, red (100% R, 0% G, 0% B)

palette/src/hwb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub type Hwba<S = Srgb, T = f32> = Alpha<Hwb<S, T>, T>;
2626

2727
/// HWB color space.
2828
///
29-
/// HWB is a cylindrical version of [RGB](rgb/struct.LinRgb.html) and it's very
29+
/// HWB is a cylindrical version of [RGB](rgb/struct.Rgb.html) and it's very
3030
/// closely related to [HSV](struct.Hsv.html). It describes colors with a
3131
/// starting hue, then a degree of whiteness and blackness to mix into that
3232
/// base hue.

0 commit comments

Comments
 (0)