Grid Sage Forums

Grid Sage Forums

  • December 04, 2024, 01:47:21 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: XTerm256 palette  (Read 2737 times)

medusacle

  • Unaware
  • *
  • Posts: 10
    • View Profile
XTerm256 palette
« on: October 13, 2018, 10:13:27 AM »

i've created a palette from the 256 colors of the xterm256 palette;

- for the first 16 (which depend on terminal configuration) i've used the default VGA palette
- the others are as usual: a 24-greyscale ramp and 6×6×6 RGB color cube
- had to split it over two pages, because 12×16 wouldn't fit all colors (and could structure it a bit better, now)

https://medusacle.gitlab.io/files/rexpaint/Xterm256A.txt
https://medusacle.gitlab.io/files/rexpaint/Xterm256B.txt

see attached images

i'm using this myself for a terminal roguelike game
but hope it's useful to anyone !
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4480
    • View Profile
    • Cogmind
Re: XTerm256 palette
« Reply #1 on: October 13, 2018, 06:10:20 PM »

Hi medusacle! Thanks for sharing these, I'm sure they'll come in handy for some others. I'll add them to the Resources page with the next update :)
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

medusacle

  • Unaware
  • *
  • Posts: 10
    • View Profile
Re: XTerm256 palette
« Reply #2 on: October 14, 2018, 08:47:17 AM »

awesome—thanks for writing this wonderful software by the way !

you wouldn't believe what kind of mess i've done throughout the years to get colored ANSI stuff, from horrible VIM plugins to multi-line strings in a certain format, nothing close to WYSIWYG

a few days ago someone told me that this exists and so happy about it
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4480
    • View Profile
    • Cogmind
Re: XTerm256 palette
« Reply #3 on: October 14, 2018, 04:39:54 PM »

Woohoo, glad you found it then :). Back in 2013 I wanted to start doing a lot of ASCII art and tried quite a few other programs out there before realizing none of them were very effective or efficient, so I built REXPaint and fortunately it really only took a couple weeks to get a decent framework with all the basic functionality. Since then it's just been accruing lots of extra bonus features, but I do have plans to eventually expand it with some much bigger updates.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon