• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    Python
  • Created about 10 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RGB color palettes for Gimp

A collection of RGB color palettes for use in GIMP (but also Aseprite, Drawpile, Inkscape, Krita, MyPaint or any other tool).

You can preview all these palettes directly in the browser.


Sources

Sources for palettes in this collection:

Other palettes

Other palettes (not included in this collection):

Default palettes

Default palettes (not included in this collection):

Other links

Other related/similar pages and projects:

Project structure

This project is supposed to be simple to use. People can download each individual palette directly from GitHub, or download the entire palettes/ folder and use it on any of the many supported applications.

  • palettes/ - Contains palettes in GIMP's GPL format.
    • The GPL format is plain text, can be easily viewed and edited in a text editor.
    • The filename reflects the internal Name:, adjusted to avoid special characters.
    • Each palette has a proper Columns: value, so that it nicely displays in GIMP and in the HTML preview.
    • Comments are ignored by most applications (and even automatically stripped), but they are used by the HTML generator of this project. Each palette can have a comment with some overall description and links to external websites.
    • Each color will be properly named, if relevant (i.e. if the colors originally had names in their original context).
    • The whitespace will follow the GIMP convention: the three RGB values are space-padded, and separated by a Tab from the color name.
  • README.md - Contains overall description and links to the sources of these palettes.
  • .github/workflows - GitHub setup to automatically run some scripts after a commit.
    • gh-pages.yml - This will automatically publish online the new HTML page after any changes to the master branch.
    • test.yml - Runs tests on the gpl_to_html.py code, testing if the code behaves properly. It does NOT test the palettes.
  • Miscellaneous scripts - Scripts with a descriptive name for their purpose. If you only want to consume the palettes, these scripts can be ignored. If you are a developer wanting to contribute to the repository, these scripts can be useful. Some may need to be adapted to your environment.

The online page is generated from ./make_index_html.sh and pushed to the gh-pages branch. That page is designed to be static and fully functional even without JavaScript. Of course, having JavaScript will enable additional features (e.g. mouse-over information and filtering the palette list). That page is also designed to be usable on any viewport dimensions. Unfortunately, it looks quite ugly (sorry about that).

Contributing

How to add a new palette to this project:

  • Use any application to create a .gpl file inside palettes/ directory.
  • Make sure the palette is displayed correctly in the HTML page.
    • Use ./gpl_to_html.py -o preview.html palettes/*.gpl. Requires Python 3.
    • Is the Name: set properly?
    • Is the Columns: set properly? Avoid larger than 20 or 24, although exceptions can be made. (This number is a guideline, not a rule.)
    • Comment section:
      • Do you want to add a short summary as a comment?
      • Do you want to add URLs in the comment?
      • It is preferable to cite the source of the palette in the comment.
    • Do the colors have any names? If yes, please add the names.
  • Make sure the palette works fine inside GIMP. (If it looks fine in the HTML page, very likely it will work in GIMP.)
    • Be careful! Upon opening the palette in GIMP, it will remove any comments you have manually added. Make a copy of the palette first, or mark the file as read-only.
  • Add an entry to the README.md file, citing the source of the palette.
    • Keep the entries sorted alphabetically.
  • Create a pull request.
    • Remember to include the new palette file(s) (palettes/*.gpl) and the changes to the README.md file.
    • Don't add the HTML file, as the real HTML file will be generated automatically.

TODO

  • Make the form change the URL, so that permalinks for the current view are possible.
  • Make the form less ugly.

More Repositories

1

prettyping

`prettyping` is a wrapper around the standard `ping` tool, making the output prettier, more colorful, more compact, and easier to read.
Shell
1,203
star
2

udev-joystick-blacklist

Fix for keyboard/mouse/tablet being detected as joystick in Linux
Python
118
star
3

crx-reload-tab

Chrome extension to reload the current tab at a chosen interval.
JavaScript
78
star
4

html5-knob

A rotary web input component
HTML
55
star
5

pygame-joystick-test

pygame-joystick-test is a small Python program that uses pygame to test joysticks. Upon running, it shows the state (axes, trackballs, hats and buttons) of all detected joysticks. It's a quick and simple way to check how well your joystick works.
Python
41
star
6

small_scripts

Lots of small scripts I've written over time. This includes shell scripts (written in sh or bash), small stand-alone Python programs, and Gimp plug-ins as well.
Python
36
star
7

arandr-indicator

Quick and simple tray icon menu for changing the monitor layout. A great companion to ARandR tool.
Python
26
star
8

lyne-solver

Solver for LYNE game.
JavaScript
23
star
9

atmega8-magnetometer-usb-mouse

ATmega8 working as USB mouse, by reading movements from a magnetometer (digital compass). [Projeto Final do curso de Bacharelado em Ciência da Computação DCC/UFRJ]
C
19
star
10

bizhawk-lua-scripts

Lua scripts I've written for BizHawk/EmuHawk emulator
Lua
12
star
11

crx-ss-tv-remote

Chrome app to control a Samsung TV over LAN/Wi-Fi.
JavaScript
11
star
12

spritegen

Random game sprite generator
JavaScript
10
star
13

ets2-stuff

Collection of assorted stuff related to Euro Truck Simulator 2 game.
JavaScript
7
star
14

tinyos-gentoo-overlay

Gentoo overlay for TinyOS packages
Shell
7
star
15

crx-uri-splitter

Browser extension to easily and quickly edit the URL/URI from the current page
JavaScript
6
star
16

retroadapter

My changes on top of RetroAdapter to make it work with my microcontroller. This is basically the RetroAdapter version 2.1a with some tweaks in the Makefile, an updated usbdrv, and many modules disabled. Built as an USB adapter for SEGA Genesis / Mega Drive controllers.
C
4
star
17

fontpreviewer

"fontpreviewer" is a nice little tool that generates PNG thumbnails of TTF fonts, and also generates a HTML file with all generated thumbnails. This program was originally written on 2007-08-08 and then completely forgotten for almost 4 years.
Python
3
star
18

browser-selector

Browser Selector is a Python script that allows you to choose what browser you want to launch for each URL. It is intended to be used as a default URL handler.
Python
2
star
19

magic-square

Magic square finder (brute-force algorithm)
JavaScript
2
star
20

dotfiles

Vim Script
2
star
21

cpf-generator

Small and simple and fast generator of all possible CPF numbers
C
2
star
22

denilsonsa.github.io

My site at GitHub Pages
HTML
2
star
23

hackhands-aux-tools

Curated list of useful tools for online mentorship — http://denilsonsa.github.io/hackhands-aux-tools/
HTML
2
star
24

abn-amro-statement-parser

Parser for the Dutch ABN AMRO bank and credit card transactions
Python
2
star
25

subtitle-player

A "player" for subtitles
JavaScript
1
star
26

calculator-the-game-solver

Solver for "Calculator: The Game"
JavaScript
1
star
27

terraria-stuff

Collection of assorted stuff related to Terraria game
HTML
1
star
28

atmega8-hidkeys-helloworld

USB Keyboard using ATmega8, a slightly modified version of HIDKeys.2007-03-29 firmware.
C
1
star
29

simone-giertz-fish-slap

Simone Giertz fish slap → https://denilsonsa.github.io/simone-giertz-fish-slap/fishslap_view_as_bg.html
HTML
1
star
30

cartorios-autorizados-apostila

Cartórios Autorizados - Convenção da Apostila da Haia
Jupyter Notebook
1
star
31

pythonlogica

Módulo prático com utilitários para resolução de exercícios do curso de Lógica do DCC/UFRJ. Permite calcular a tabela verdade (e, portanto, comparar duas fórmulas, checar se é tautologia ou contradição) e possui um manipulador de expressões, o qual permite converter uma fórmula para FNC (Forma Normal Conjuntiva). Para mais detalhes, leia a documentação incluída junto com o código fonte. Há uma descrição de como usar este módulo, inclusive com exemplos.
Python
1
star
32

redstone_javascript

The beginnings of a (Minecraft) Redstone editor/simulator, written completely in JavaScript. It's also mirrored in BitBucket: https://bitbucket.org/denilsonsa/redstone_javascript/
JavaScript
1
star
33

gamepad-cheatsheet

Cheatsheet of configuration shortcuts of many gamepads (think of it as a concise and comprehensive version of the gamepad manuals)
HTML
1
star