Downloads:
32
Downloads of v 0.8.1:
4
Last Update:
18 Jul 2025
Published Date:
18 Jul 2025
Package Maintainer(s):
Software Author(s):
- David Peter
Tags:
- #rust
- #cli
- #cielab
- #cielch
- #oss
- #terminal
- #command-line
- #color-space
- #foss
- #tools
- #colors
- #rgb
- #srgb
- #hsl
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Pastel
(Ready for review)
- 1
- 2
- 3
0.8.1 | Updated: 18 Jul 2025
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
32
Downloads of v 0.8.1:
4
Published:
18 Jul 2025
Maintainer(s):
Software Author(s):
- David Peter
Pastel 0.8.1
(Ready for review)
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by David Peter. The inclusion of David Peter trademark(s), if any, upon this webpage is solely to identify David Peter goods or services and not for commercial purposes.
- 1
- 2
- 3
All Checks are Passing
3 Passing Tests
This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.
- Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
- This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
- You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
- There are also no guarantees that it will be approved.
There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.
pastel
is a command-line tool to generate, analyze, convert and manipulate colors. It supports many different color formats and color spaces like RGB (sRGB), HSL, CIELAB, CIELCh as well as ANSI 8-bit and 24-bit representations.
In action
Tutorial
Getting help
pastel
provides a number of commands like saturate
, mix
or paint
. To see a complete list, you can simply run
pastel
To get more information about a specific subcommand (say mix
), you can call pastel mix -h
or pastel help mix
.
Composition
Many pastel
commands can be composed by piping the output of one command to another, for example:
pastel random | pastel mix red | pastel lighten 0.2 | pastel format hex
Specifying colors
Colors can be specified in many different formats:
lightslategray
'#778899'
778899
789
'rgb(119, 136, 153)'
'119,136,153'
'hsl(210, 14.3%, 53.3%)'
Colors can be passed as positional arguments, for example:
pastel lighten 0.2 orchid orange lawngreen
They can also be read from standard input. So this is equivalent:
printf "%s\n" orchid orange lawngreen | pastel lighten 0.2
You can also explicitly specify which colors you want to read from the input. For example, this mixes red
(which is read from STDIN) with blue
(which is passed on the command line):
pastel color red | pastel mix - blue
Resources
Interesting Wikipedia pages:
- Color difference
- CIE 1931 color space
- CIELAB color space
- Line of purples
- Impossible color
- sRGB
- Color theory
- Eigengrau
Color names:
- XKCD Color Survey Results
- Peachpuffs and Lemonchiffons - talk about named colors
- List of CSS color keywords
Maximally distinct colors:
- How to automatically generate N "distinct" colors?
- Publication on two algorithms to generate (maximally) distinct colors
Other articles and videos:
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
From: https://github.com/sharkdp/pastel/blob/v0.8.1/LICENSE-MIT
LICENSE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
Package can be verified like this:
1. Go to https://github.com/sharkdp/pastel/releases/tag/v0.8.1, and download from there.
x86: https://github.com/sharkdp/pastel/releases/download/v0.8.1/pastel-v0.8.1-i686-pc-windows-msvc.zip
x86 (64-bit): https://github.com/sharkdp/pastel/releases/download/v0.8.1/pastel-v0.8.1-x86_64-pc-windows-msvc.zip
to download the executables. You may wish to rename one of the files.
2. You can use one of the following methods to obtain the SHA512 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'
checksum x86: c82880d11b1a0aeed6dcf5e1c8f114b5b2e5a4197f1886640b51696ac85410cbac94fe0a7f7f96b6651ce8152049e51538a006d982fb8c1afdc9a41695c995b7
checksum x86 (64-bit): 1432822df20a423d4260d5e623e769d62cc96e0a615849608d240d483f88ea449ccad5c31e776f38c009b59f3194007c1fc755079e045b975a34d2ba3433a2e4
File 'LICENSE.txt' obtained from:
https://github.com/sharkdp/pastel/blob/v0.8.1/LICENSE-MIT
md5: 976FB0D91D2D598A6AB0DA0737C2545F | sha1: A4A21D449E16B07E922B559857F1E74FD6886ADE | sha256: E314EB41EE4B57019A9E6FA0AFA6C750C342BB34E97A9D48469996C7CC40F723 | sha512: 97D71C630A0C6F83FD47EDBBCF2E42F46B596F5536C0FCF101CC37013349D97E9017913AB3EB2BE456DC57A199D78121915062BFAC5A23CCF2A307F05136200B
md5: 25DE65C61B093E96B4B9A701943872E3 | sha1: 07D92C1F2D6F20D2A9B15B85ADC4D54450C0AEEB | sha256: C04BC85D55738861FE5909AF7AC407DDAA0EA0AECDB79E7B8385E2B9F4AE7247 | sha512: 9DBBC6A686774B86723186695BDDD06FC0C14FE2D3FC25593EB677E730F053E8846BF333A96EE9566FCEAC858EFBB8C7093C3C57D3363E13A8ACD6E27E5BBEB3
Log in or click on link to see number of positives.
- pastel.0.8.1.nupkg (3b40b6923d4d) - ## / 69
- pastel.exe (e314eb41ee4b) - ## / 71
- pastel.exe (c04bc85d5573) - ## / 72
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
Pastel 0.8.1 | 4 | Friday, July 18, 2025 | Ready | |
Pastel 0.8.0 | 28 | Thursday, June 19, 2025 | Approved |
Copyright © 2019 - 2025, David Peter
v0.8.1
Features
pastel
as a library: AddedFrom
andDisplay
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)
-
- vcredist140 (≥ 14.20.27508.1)
Ground Rules:
- This discussion is only about Pastel and the Pastel package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Pastel, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
Starz0r (maintainer) on 18 Jul 2025 19:53:12 +00:00:
User 'Starz0r' (maintainer) submitted package.
chocolatey-ops (reviewer) on 18 Jul 2025 20:26:54 +00:00:
pastel has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.
Guidelines
Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.
Notes
Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.
chocolatey-ops (reviewer) on 18 Jul 2025 20:47:39 +00:00:
pastel has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/27636a08d4a3c6bed65506b83cd3a85b for details.
This is an FYI only. There is no action you need to take.
chocolatey-ops (reviewer) on 18 Jul 2025 21:02:04 +00:00:
pastel has passed automated virus scanning.