A command-line tool to generate, analyze, convert and manipulate colors
NO_COLOR
environment variable, see #143 (@djmattyg007)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.pastel gradient red blue yellow
), see #49 (@felipe-fg)-f
/--force-color
flag as an alias for --mode=24bit
, see #48 (@samueldple)--color-picker <cmd>
to allow users to choose the colorpicker, see #96 (@d-dorazio)rgb(255 0 119)
, rgb(100%,0%,46.7%)
, gray(20%)
, and many more new CSS syntaxes, see #103 (@MusiKid)pastel
library changesdistinct_colors
is now available in the pastel::distinct
module, see #95 (@rivy)pastel colorblind
, see #80 (@rozbb)pastel distinct
, see #88 (@d-dorazio)set
subcommand that can be used to set specific properties of a color (pastel set lightness 0.4
, pastel set red 0
, etc.), see #43pastel show
or pastel color
if it is an exact match, for example:
pastel color ff00ff
will show "fuchsia", see #81 (@d-dorazio)pastel pick [<count>]
pastel distinct
has seen massive speedups, see #83 (@d-dorazio)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 #45pastel distinct N
with N < 2 (show an error message), see #69pastel distinct
so as to maximize the minimal distance to the predecessors