Skip to content

Commit 3b2cc5d

Browse files
committed
Merge pull request #122 from seven-phases-max/master
Denoted the HSL-space functions as HSL-space functions.
2 parents 0b2e3f4 + 0ba922c commit 3b2cc5d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

content/functions/color-channel.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### hue
22

3-
> Extracts the hue channel of a color object.
3+
> Extracts the hue channel of a color object in the HSL color space.
44
55
Parameters: `color` - a color object.
66

@@ -13,7 +13,7 @@ Output: `90`
1313

1414
### saturation
1515

16-
> Extracts the saturation channel of a color object.
16+
> Extracts the saturation channel of a color object in the HSL color space.
1717
1818
Parameters: `color` - a color object.
1919

@@ -26,7 +26,7 @@ Output: `100%`
2626

2727
### lightness
2828

29-
> Extracts the lightness channel of a color object.
29+
> Extracts the lightness channel of a color object in the HSL color space.
3030
3131
Parameters: `color` - a color object.
3232

content/functions/color-operations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Color operations generally take parameters in the same units as the values they
22

33
### saturate
44

5-
> Increase the saturation of a color by an absolute amount.
5+
> Increase the saturation of a color in the HSL color space by an absolute amount.
66
77
Parameters:
88

@@ -19,7 +19,7 @@ Output: `#80ff00 // hsl(90, 100%, 50%)`
1919

2020
### desaturate
2121

22-
> Decrease the saturation of a color by an absolute amount.
22+
> Decrease the saturation of a color in the HSL color space by an absolute amount.
2323
2424
Parameters:
2525

@@ -36,7 +36,7 @@ Output: `#80cc33 // hsl(90, 60%, 50%)`
3636

3737
### lighten
3838

39-
> Increase the lightness of a color by an absolute amount.
39+
> Increase the lightness of a color in the HSL color space by an absolute amount.
4040
4141
Parameters:
4242

@@ -53,7 +53,7 @@ Output: `#b3f075 // hsl(90, 80%, 70%)`
5353

5454
### darken
5555

56-
> Decrease the lightness of a color by an absolute amount.
56+
> Decrease the lightness of a color in the HSL color space by an absolute amount.
5757
5858
Parameters:
5959

@@ -191,7 +191,7 @@ rgba(75, 25, 0, 0.75)
191191

192192
### greyscale
193193

194-
> Remove all saturation from a color; the same as calling `desaturate(@color, 100%)`.
194+
> Remove all saturation from a color in the HSL color space; the same as calling `desaturate(@color, 100%)`.
195195
196196
Because the saturation is not affected by hue, the resulting color mapping may be somewhat dull or muddy; [`luma`](#color-channel-luma) may provide a better result as it extracts perceptual rather than linear brightness, for example `greyscale('#0000ff')` will return the same value as `greyscale('#00ff00')`, though they appear quite different in brightness to the human eye.
197197

0 commit comments

Comments
 (0)