1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174# unreleased
## Features
## Bugfixes
## Changes
## Other
- Minor optimizations and cleanup
## Packaging
# v0.10.0
## Features
- Added alpha property to set command, see #218 (@kanielrkirby)
- Add support for HSV, see #169 (@jameshurst)
- Added support for parsing LCh colors, see #2 and #167 (@MForster)
- Added hyprpicker as --color-picker, see #186 (@mrusme)
- Implement Color::from_u32 for the rgba, see #202 (@irevoire)
## Bugfixes
- `pastel pick` does not display all colors in some terminals, see #121 and #168 (@Divoolej)
- Fix lines in kitty terminal with text_fg_override_threshold set, see #197 (@joveian)
## Changes
- Use PASTEL_COLOR_MODE in ansi::Brush::from_environment, see #168 (@Divoolej)
- Unhide colorcheck command, see #182 (@CheshireSwift)
## Other
- Optimization for eliminating redundant memory operations, see #165 (@yyzdtccjdtc)
- Add colour as an alias for the color command, see #173 (@BuyMyMojo)
- Suggest to use pastel pick --help instead of -h, see #181 (@sharkdp)
# v0.9.0
## Features
- Added support for transparency / alpha values, see #131 and #162 (@superhawk610)
- Added support for `NO_COLOR` environment variable, see #143 (@djmattyg007)
- Added new color pickers: Gnome/Wayland via gdbus, zenity, yad, and wcolor (@sigmaSd, @pvonmoradi)
## Packaging
- Added shell completion files again, see #166 (@sharkdp)
# v0.8.1
## Features
- Added `From` and `Display` traits for each color struct, see #133 (@bresilla)
## Other
- Updated `lexical-core` dependency to fix a compile error with newer Rust versions
## Packaging
- `pastel` is now available on snapstore, see #130 (@purveshpatel511)
# v0.8.0
## Features
- Added CMYK output format, see #122 and #123 (@aeter)
## Other
- Completely new CI/CD system via GitHub Actions, see #120 (@rivy)
# v0.7.1
## Bugfixes
- Fixed a bug with the new `ansi-*-escapecode` formats, see #116 (@bbkane)
# v0.7.0
## Changes
- **Breaking:** the existing `ansi-8bit` and `ansi-24bit` formats have been changed to
print out an escaped ANSI sequence that a user can see in the terminal output.
The previously existing formats are now available as `ansi-8bit-escapecode` and
`ansi-24bit-escapecode`. See #113 and #111.
## Features
- All CSS color formats are now supported (see #12)
- Added support for multiple color stops for gradients (`pastel gradient red blue yellow`), see #49 (@felipe-fg)
- Added `-f`/`--force-color` flag as an alias for `--mode=24bit`, see #48 (@samueldple)
- Added `--color-picker <cmd>` to allow users to choose the colorpicker, see #96 (@d-dorazio)
- Added input support for CIELAB, see #3/#101 (@MusiKid)
- Added support for `rgb(255 0 119)`, `rgb(100%,0%,46.7%)`, `gray(20%)`, and many more new CSS syntaxes, see #103 (@MusiKid)
- Faster and more flexible color parser, adding even more CSS color formats, see #105 (@halfbro)
## `pastel` library changes
- `distinct_colors` is now available in the `pastel::distinct` module, see #95 (@rivy)
## Bugfixes
- Added support for non-color consoles (Windows 7), see #91 (@rivy)
## Other
- pastel is now available via Nix, see #100 (@davidtwco)
# v0.6.1
## Other
- Enabled builds for arm, aarch64, and i686
- Fixed build on 32bit platforms
# v0.6.0
## Features
- Added colorblindness simulations via `pastel colorblind`, see #80 (@rozbb)
- Added support for pre-determined colors in `pastel distinct`, see #88 (@d-dorazio)
- Added a new `set` subcommand that can be used to set specific properties of a color (`pastel set lightness 0.4`, `pastel set red 0`, etc.), see #43
- Show the color name in `pastel show` or `pastel color` if it is an exact match, for example:
`pastel color ff00ff` will show "fuchsia", see #81 (@d-dorazio)
- Add KColorChooser as a supported color picker, see #79 (@data-man)
- Add macOS built-in color picker, see #84 (@erydo)
- Added a new 'count' argument for `pastel pick [<count>]`
## Changes
- `pastel distinct` has seen massive speedups, see #83 (@d-dorazio)
## Bugfixes
- Mixing colors in HSL space with black or white will not rotate the hue towards red (hue 0ยฐ), see #76
## Other
- Pastel is now available via Homebrew, see README and #70 (@liamdawson)
# v0.5.3
- Added `rgb-float` as a new format (e.g. `pastel random | pastel format rgb-float`).
- `pastel pick` should now work in 24-bit on Windows, see #45
- Fix crash for `pastel distinct N` with N < 2 (show an error message), see #69
# v0.5.2
* Truecolor support for Windows (@lzybkr)
* Re-arranging of colors in `pastel distinct` so as to maximize the minimal distance to the predecessors
* Fixed small numerical approximation problem in the 'similar colors' computation
* Backported to Rust 1.34
# v0.5.1
- Added shell completion files for bash, zsh, fish and PowerShell.
# v0.5.0
- Added `pastel distinct N` command to generate a set of N visually distinct colors
# v0.4.0
Initial public release