Downloads:
10
Downloads of v 0.8.0:
10
Last Update:
19 Jun 2025
Published Date:
19 Jun 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.0 | Updated: 19 Jun 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:
10
Downloads of v 0.8.0:
10
Published:
19 Jun 2025
Maintainer(s):
Software Author(s):
- David Peter
Pastel 0.8.0
(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.0/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.0, and download from there.
x86: https://github.com/sharkdp/pastel/releases/download/v0.8.0/pastel-v0.8.0-i686-pc-windows-msvc.zip
x86 (64-bit): https://github.com/sharkdp/pastel/releases/download/v0.8.0/pastel-v0.8.0-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: ab876768fdc16a52a9cdb2c27ebcec751acafd85c903d1d86befeca689a7e7f8cb94d154636a2d6fcaa0a9b43b4c70500f5c6071246564678a6c32a319903fca
checksum x86 (64-bit): 8f2b4956edae82fb05039249dada3b9fc5c4827ec2ae7c258d3cf93eb3ff61c14e0f1caf9b15e403a9294788cfeccf761f96abf88f841afb2b1d822628093607
File 'LICENSE.txt' obtained from:
https://github.com/sharkdp/pastel/blob/v0.8.0/LICENSE-MIT
md5: DB1A6C269ABB444B7ADF9BDAB546FFBD | sha1: 7C7A5742331EA5BE2A80A2B2A6E00D3B1B37496F | sha256: 806DC7555526A5F96FEC6D8245BD32E0638B2CD49E49D59EAA827AF8691434DC | sha512: 1F80DD6378EC3E93715DA31FAFF0E7F887AFB461680C04803D32C00230BB06F5BEA8FD44B00F5641ADB0BF0626C36754E3A532089155C8BEE672DFD62DD84ABA
md5: 5CDA019A51DA6B2A20F37640A5D624F8 | sha1: DAC36BA1AAE91678442693738EB572B7BA833FC0 | sha256: 760256AD43A3D0E8C1FBD8A2B77F3404B639D70E8AA46C0450AE30C2610AA0C5 | sha512: F7F1F66ACFCCBDE454E7DF29B439DAA884DE52ED7D036FC124E68DA7E38E75DA8213E4281BB67C0D312380188B7E80CF758D32C25265AB167619F0A8ABC8B940
Log in or click on link to see number of positives.
- pastel.0.8.0.nupkg (6b26cb3c5296) - ## / 69
- pastel.exe (806dc7555526) - ## / 72
- pastel.exe (760256ad43a3) - ## / 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.
Copyright © 2019 - 2025, David Peter
Features
- Added CMYK output format, see #122 and #123 (@aeter)
Other
- Completely new CI/CD system via GitHub Actions, see #120 (@rivy)
-
- 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 19 Jun 2025 21:23:52 +00:00:
User 'Starz0r' (maintainer) submitted package.
chocolatey-ops (reviewer) on 19 Jun 2025 21:57:52 +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 19 Jun 2025 22:13:14 +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/16bef60dc581c8500958f6ce38d023e9 for details.
This is an FYI only. There is no action you need to take.
chocolatey-ops (reviewer) on 20 Jun 2025 07:11:49 +00:00:
pastel has passed automated virus scanning.