sharkdp/pastel

support all named colors from X11 rgb.txt

Open

#138 aperta il 10 mag 2021

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Rust (127 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (6392 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Just came across this nice program, only to realize that it is missing many named colors:

$ pastel color red3
[pastel error]: Could not parse color 'red3'

Please see https://en.wikipedia.org/wiki/X11_color_names and https://cgit.freedesktop.org/xorg/app/rgb/tree/rgb.txt .

The few clashing color names could be resolved by using a x11- prefix like in x11-gray.

Guida contributor