Skip to content

support all named colors from X11 rgb.txt #138

@markus-oberhumer

Description

@markus-oberhumer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions