sharkdp/pastel

support all named colors from X11 rgb.txt

Open

#138 ouverte le 10 mai 2021

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)Rust (127 forks)github user discovery
enhancementgood first issue

Métriques du dépôt

Stars
 (6 392 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur