Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
as-RGB-dec-2-bytes.sh
as-VDI-dec-2-hex.sh
as-capitalised-words.sh
as-channel-2-VDI.sh
as-dec-2-binary.sh
gpl2dec-all-txt.sh
gpl2hex-all-txt.sh
gpl2names-all-txt.sh
html-txt2html-decimal.sh
html-txt2html-hex.sh
html-txt2html-names.sh
html-txt2html-palettes.sh
html-txt2html.sh
palette-gpl2grafx2.pal.sh
palette-gpl2paint.net.sh
palette-gpl2vdi.pal.sh
palette-txt2BAS.COLORS.sh
palette-txt2fbterm.colors.sh
palette-txt2grafx2.pal.sh
palette-txt2paint.net.sh
palette-txt2photoshop.act.sh
palette-txt2vdi.pal.sh
palette-txt2xterm.colors.sh
pp-make-all.sh
txt2C-all-h.sh
txt2html-all.sh
update-C2C-cNames-printf-RGB-list-h.sh
update-C2C-names-dec-RGB-arrays-h.sh
update-C2C-names-hex-RGB-arrays-h.sh
update-gpl2dec24-comma-space-txt.sh
update-gpl2dec24-comma-txt.sh
update-gpl2dec24-semi-colon-txt.sh
update-gpl2dec24-space-BGR-txt.sh
update-gpl2dec24-space-BRG-txt.sh
update-gpl2dec24-space-comma-txt.sh
update-gpl2dec24-space-lst.sh
update-gpl2dec24-space-txt.sh
update-gpl2dec32-space-BGRA-txt.sh
update-gpl2hex24-0x-comma-space-txt.sh
update-gpl2hex24-CAPS-forward-slash-txt.sh
update-gpl2hex24-CAPS-space-txt.sh
update-gpl2hex24-CAPS-txt.sh
update-gpl2hex24-html-CAPS-txt.sh
update-gpl2hex24-html-txt.sh
update-gpl2hex24-printf-CAPS-BGR-txt.sh
update-gpl2hex24-printf-CAPS-RGB-txt.sh
update-gpl2hex24-printf-txt.sh
update-gpl2hex24-space-txt.sh
update-gpl2hex24-txt.sh
update-gpl2hex32-printf-CAPS-BGRA-txt.sh
update-gpl2hex32-printf-CAPS-RGBA-txt.sh
update-gpl2names-CAPS-txt.sh
update-gpl2names-CAPS_-txt.sh
update-gpl2names-Caps-space-txt.sh
update-gpl2names-cCaps-txt.sh
update-gpl2names-lower_-txt.sh
update-gpl2names-lst.sh
update-gpl2names-official-txt.sh
update-txt2C-dec-RGB-array-h.sh
update-txt2C-hex-RGB-array-h.sh
update-txt2C-names-array-h.sh
update-txt2C-printf-RGB-array-h.sh
x-AtariST-remapped-16-2-VDI-common.sh
x-index-from-files.sh
x-index-from-folders.sh

README.md

Programmers Palettes

preview: http://paulwratt.github.io/programmers-palettes/

palettes for programmers, developers, and designers.

https://github.com/paulwratt/programmers-palettes/tree/master/docs

an extensive suppliment to gimp-palettes by @denilsonsa

https://github.com/denilsonsa/gimp-palettes


Shell Script Utilities

This folder contains the shell script executables that manipulate data output to files based on the contents of ../templates/* . The resulting files are used to build the output for the website, gerenate different palettes and RGBA formats, either manually or through some form of automation.

Current utilities (in order of use):

  • assist
    • as-capitalised-words.sh - used to generate "Caps Words" from "caps words"
    • as-dec-2-binary.sh - used to generate "binary" from "decimal"
    • as-RGB-dec-2-bytes.sh - used to generate "bytes" from "RGB decimals"
    • as-channel-2-VDI.sh - used to generate decimal 0-1000 from "RGB decimals"
    • as-VDI-dec-2-hex.sh - used to generate hexadecimal 0000-03E8 from "VDI decimals"
  • gpl2dec24-all-txt.sh
    • update-gpl2dec24-space-lst.sh - space aligned decimal RGB list (can generate .gpl from these)
    • update-gpl2dec24-space-comma-txt.sh - space aligned comma seperated decimal RGB values (easy to read)
    • update-gpl2dec24-comma-txt.sh - comma seperated decimal RGB values (compact, eg. CSS rgb() arguments)
    • update-gpl2dec24-comma-space-txt.sh - comma seperated spaced decimal RGB values (eg. C argument list)
    • update-gpl2dec24-semi-colon-txt.sh - semi-colon seperated spaced decimal RGB values (eg. fbterm ESCape codes)
    • update-gpl2dec24-space-txt.sh - space seperated decimal RGB values (used to generate another palette/format)
    • update-gpl2dec24-space-BGR-txt.sh - space seperated decimal BGR values (used to generate another palette/format)
    • update-gpl2dec24-space-BRG-txt.sh - space seperated decimal BRG values (used to generate another palette/format)
    • update-gpl2dec32-space-BGRA-txt.sh - space seperated decimal BGRA values (used to generate another palette/format)
  • gpl2hex24-all-txt.sh
    • update-gpl2hex24-printf-txt.sh - printf RGB hex values for printf functions
    • update-gpl2hex24-space-txt.sh - space seperated 8bit byte RGB hex values (used to generate other RGBA formats)
    • update-gpl2hex24-0x-comma-space-txt.sh - space seperated 8bit byte RGB hex values (used to generate other RGBA formats)
    • update-gpl2hex24-txt.sh - 24bit word RGB hex values
    • update-gpl2hex24-html-txt.sh - 6 digit HTML #RRGGBB hex values
    • update-gpl2hex24-html-CAPS-txt.sh - 6 digit capitalized HTML #RRGGBB hex values
    • update-gpl2hex24-CAPS-space-txt.sh - capitalized space seperated 8bit byte RGB hex values (used to generate another palette/format)
    • update-gpl2hex24-CAPS-txt.sh - capitalized 24bit word RGB hex values
    • update-gpl2hex24-CAPS-forward-slash.sh - capitalized 24bit word RGB hex xterm ESC sequences
    • update-gpl2hex24-printf-CAPS-RGB-txt.sh - capitalized printf RGB hex values for printf functions
    • update-gpl2hex32-printf-CAPS-RGBA-txt.sh - capitalized printf RGBA8888 hex values for printf functions
    • update-gpl2hex24-printf-CAPS-BGR-txt.sh - capitalized printf BGR hex values for printf functions
    • update-gpl2hex32-printf-CAPS-BGRA-txt.sh - capitalized printf BGRA8888 hex values for printf functions
  • gpl2names-all-txt.sh
    • update-gpl2names-lst.sh - raw dump of GiMP palette mouse over text (formated "number - name" lowercase)
    • update-gpl2names-official-txt.sh - lowercase space seperated text color names (from GiMP palette)
    • update-gpl2names-lower_-txt.sh - lower_case color names
    • update-gpl2names-CAPS_-txt.sh - CAPITAL_IZED color names (useful as defines or in shell scripts)
    • update-gpl2names-CAPS-txt.sh - CAPITALIZED, no spaces (useful in shell scripts)
    • update-gpl2names-Caps-space-txt.sh - Capialized Space Seperated color names
    • update-gpl2names-cCaps-txt.sh - cCapsColor compacted names (useful as variable names in programs)
  • txt2C-all-h.sh
    • update-txt2C-dec-RGB-array-h.sh - generates decimal RGB array
    • update-txt2C-hex-RGB-array-h.sh - generates hexadecimal RGB array
    • update-txt2C-names-array-h.sh - generates color names array
    • update-txt2C-printf-RGB-array-h.sh - generates hexadecimal RGB printf array
    • update-C2C-cNames-printf-RGB-list-h.sh - gererate cColorNames hexadecimal printf list
    • update-C2C-names-dec-RGB-arrays-h.sh - makes color names array and decimal RGB array in one file
    • update-C2C-names-hex-RGB-arrays-h.sh - makes color names array and hexadecimal RGB array in one file
  • txt2html-all.sh
    • html-txt2html.sh - generates html content for main information page
    • html-txt2html-decimal.sh - generates html content for decimal values
    • html-txt2html-hex.sh - generates html content for hexidecimal values
    • html-txt2html-names.sh - generates html content for names lists
    • html-txt2html-palettes.sh - generates html content for palettes
  • gpl2palette-files.sh
    • palette-gpl2grafx2.pal.sh - generates 256 color JASC-PAL palette for Grafix2, Graphics Gale, Paintshop Pro
    • palette-gpl2paint.net.sh - generates Paint.Net palette files (optionally with names and numbers, if present in .gpl)
    • palette-gpl2vdi.pal.sh - generates partial palette file for Atari Falcon 265 color VDI (binary, 0-1000 per channel)
    • palette-txt2grafx2.pal.sh - generates 256 color JASC-PAL palette for Grafix2, Graphics Gale, Paintshop Pro
    • palette-txt2paint.net.sh - generates Paint.Net palette files with names and numbers
    • palette-txt2photoshop.act.sh - generates 256 color palette binary file for Adobe Photoshop
    • palette-txt2BAS.COLORS.sh - generates ShellBASIC PSET/PRESET (Bas) palette file (fbterm + xterm + 32bit BGRA printf for framebuffer)
    • palette-txt2bas.colors.bas.sh - generates ANSI BASIC (.bas) palette file (fbterm + xterm + 32bit BGRA printf for framebuffer)
    • palette-txt2fbterm.colors.sh - generates palette file for fbterm (fbterm ESCape codes)
    • palette-txt2xterm.colors.sh - generates palette file for xterm (xterm ESCape codes)
    • palette-txt2vdi.pal.sh - generates partial palette file for Atari Falcon 265 color VDI (binary, 0-1000 per channel)
  • extras (in ./docs/x/)
    • x-index-from-files.sh - generates './index.html' from files list
    • x-index-from-folders.sh - generates './index.html' from folders list
    • x-AtariST-remapped-16-2-VDI-common.sh - generates full 256 color VDI .pal file, from a remapped GiMP .gpl