-
Notifications
You must be signed in to change notification settings - Fork 30
Full 24-bit color... #61
Comments
If you want to use custom colors, see
The main thing with RGB in terminal is its support; isn't as widely supported as the 256 pallet. And while I love colors, having 16 million colors is overkill for what ChromaTerm-- is built for, unless you're planning on adding True Color to telnet-Star-Wars. I'd love it if I could just use normal RGB to make things simple, but for now, we'll have to settle for the 256 pallet. |
Right, but unless I'm misunderstanding, right now its 128 color pallet,
right? aaa-fff, not 000-fff?
|
The extended color set is aaa-fff (6^3) which would be 216 permutations. Then you have the 24 shades of Grey (g00-g23). And lastly, the original 16 ANSI colors. 216 + 24 + 16 is 256. For the extended color set and the shades of Grey, uppercase indicates background while lower is is foreground. For simple ANSI, see |
Huh, it never occurred to me that it added up that way, very cool! I have a number of ANSI color reference files/tools to show the palette. They all show a bit differently but since you put it like the above I realized they map in that way. Just never realized it would map cleanly to aaa-fff. Pretty sweet. |
I'm not sure if this was intended, but if I try to use as the color code, it just puts that code in front of the result. Like 0-9 can't be used for 24-bit color codes.
Is that intended? Could that be changed?
I love the idea that upper case characters indicate background and there is no upper/lower to digits so I could see that being a problem.
Perhaps an extended form would work, like use for the VT100 stuff and [012] for 24 bit color. Could even do something like [f00.000] where the first 3 characters before the optional period are the foreground and the last 3 after the period for background, if present.
Other examples that I would think would work like this:
[.000] - Black background
[f00] - Red foreground
[f00.] - Red foreground
[F00] - Red Background
One other alternate that might make sense (piggyback off css)
#f00000 - Red foreground / black background
#00fFFF - Blue foreground / White background
Thoughts?
The text was updated successfully, but these errors were encountered: