Skip to content

PANTONE®, RAL®, Dulux®, Copic®, NCS®, HKS® and Prismacolor® color palettes for Scribus, GIMP, AutoCAD, Inkscape, Krita & LibreOffice.

License

Notifications You must be signed in to change notification settings

fundevogel/we-love-colors

Repository files navigation

We love colors!

This library provides an easy way to generate color palettes:

In computer graphics, a palette is a finite set of colors. — Wikipedia article 'Palette (Computing)'

.. often referred to as Swatches (as branded by Adobe Inc.):

Swatches are named colors, tints, gradients, and patterns. — Adobe Illustrator

.. featuring the following (proprietary) color spaces:

For now, we-love-colors creates master palettes for use in

Getting started

Running setup.sh will install all dependencies inside a virtual environment, ready for action. Have a look first so you know what's going on ;)

Usage

Fetching color sets and processing them is really straightforward - for everything else, there's --help:

$ colors
Usage: colors [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  fetch    ARGS: pantone | ral | dulux | copic | prismacolor
  process  ARGS: pantone | ral | dulux | copic | prismacolor

Using its commands fetch and process is fairly easy, like that:

# Example 1 - Gotta fetch 'em `--all`:
$ colors fetch --all && colors process

# Example 2 - Fetching specific sets & processing them:
$ colors fetch copic dulux && colors process copic dulux

FAQ

Q: But where do all those files go? A: That depends, ..

  • .. .xml files may be loaded individually with Edit - Colours & Fills - Solid Colours - Import (Scribus)
  • .. .soc files belong here:
    • ~\AppData\Roaming\libreoffice\3\user (Windows + PowerShell, otherwise %userprofile%)
    • ~/Library/Application Support/libreoffice/4/user/config (Mac)
    • ~/.config/libreoffice/4/user/config (Linux)
  • .. installing .gpl files boils down to:
    • moving them to any path specified in Edit - Preferences - Folders - Palettes (GIMP)
    • moving them to palettes under directory specified in Edit - Preferences - System - User Config (Inkscape)
  • .. installing .acb files is pretty straightforward

Color samples

If you are looking for a quick way to browse PANTONE® colors, check out the Pantone Finder package or visit their website to get started.

For all included colors, there are preview files, to be found in the examples folder: Open up index.html, generated with examples.py (for its PHP version, just php -S localhost:8000).

When clicking a color tile, its hex value is copied to your clipboard - brought to you by clipboard.js.

Copyright

Whenever mentioned throughout this project, PANTONE® and related trademarks are the property of Pantone LLC, a division of X-Rite, a Danaher company.

The same applies to ..

We assume neither ownership nor intellectual property of any kind - color codes (and names), sRGB and/or hexadecimal values are publically available on (one of) their respective websites.

Similar projects

  • For Scribus, there's also the (currently unmaintained) package SwatchBooker

Happy coding!

©️ Fundevogel Kinder- und Jugendbuchhandlung