跳到主要內容

Panels

Panels 是一套深色終端機配色(純黑),背景色 #000000,文字色 #d3d3d3,對比度 14.0:1

取得設定檔
背景色
#000000
前景色
#d3d3d3
文字對比度
14.03:1AAA
強調色對比度
4.39:1最低 1.66
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Panels 的設定檔

16 種格式,都從同一份色票產生

Panels

存到 ~/.config/ghostty/themes/Panels,再在 config 或 config.ghostty 裡寫 theme = Panels

更多 Ghostty 配色
原始檔
# Theme: Panels (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/panels?format=ghostty

palette = 0=#191927
palette = 1=#282f5e
palette = 2=#2b4593
palette = 3=#344276
palette = 4=#4e3a4f
palette = 5=#61372f
palette = 6=#6b484c
palette = 7=#744537
palette = 8=#905749
palette = 9=#94431c
palette = 10=#9f582a
palette = 11=#a38687
palette = 12=#e1750f
palette = 13=#eaaf25
palette = 14=#fa8e08
palette = 15=#fca806
background = #000000
foreground = #d3d3d3
cursor-color = #d3d3d3
cursor-text = #000000
selection-background = #1a1a1a
selection-foreground = #d3d3d3

Panels 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
游標cursor#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.21 低於 AA
選取文字selectionText#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
黑color0#191927rgb(25 25 39)hsl(240 22% 13%)oklch(22.0% 0.027 283.9)1.21 低於 AA
紅color1#282f5ergb(40 47 94)hsl(232 40% 26%)oklch(32.5% 0.083 274.5)1.66 低於 AA
綠color2#2b4593rgb(43 69 147)hsl(225 55% 37%)oklch(41.6% 0.132 266.7)2.38 低於 AA
黃color3#344276rgb(52 66 118)hsl(227 39% 33%)oklch(39.4% 0.090 270.5)2.19 低於 AA
藍color4#4e3a4frgb(78 58 79)hsl(297 15% 27%)oklch(37.9% 0.044 324.8)2.04 低於 AA
洋紅color5#61372frgb(97 55 47)hsl(10 35% 28%)oklch(38.7% 0.062 31.6)2.10 低於 AA
青color6#6b484crgb(107 72 76)hsl(353 20% 35%)oklch(44.2% 0.048 11.7)2.66 低於 AA
白color7#744537rgb(116 69 55)hsl(14 36% 34%)oklch(44.2% 0.069 37.4)2.65 低於 AA
亮黑color8#905749rgb(144 87 73)hsl(12 33% 43%)oklch(51.8% 0.079 34.6)3.65 AA 大字級
亮紅color9#94431crgb(148 67 28)hsl(20 68% 35%)oklch(48.2% 0.121 43.7)3.08 AA 大字級
亮綠color10#9f582argb(159 88 42)hsl(24 58% 39%)oklch(53.5% 0.111 51.1)3.90 AA 大字級
亮黃color11#a38687rgb(163 134 135)hsl(358 14% 58%)oklch(64.7% 0.036 15.8)6.32 AA
亮藍color12#e1750frgb(225 117 15)hsl(29 88% 47%)oklch(67.4% 0.164 54.4)6.75 AA
亮洋紅color13#eaaf25rgb(234 175 37)hsl(42 82% 53%)oklch(78.8% 0.154 82.5)10.66 AAA
亮青color14#fa8e08rgb(250 142 8)hsl(33 96% 51%)oklch(74.7% 0.173 60.3)8.94 AAA
亮白color15#fca806rgb(252 168 6)hsl(40 98% 51%)oklch(79.5% 0.168 73.1)10.74 AAA

關於 Panels

Panels 採用中性色調的深色背景(#000000),預設前景色為 #d3d3d3。內文的 WCAG 對比度為 14.03:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.39:1,最低 1.66:1。

色票整體色彩彩度適中,其中紅色為 #282f5e、綠色為 #2b4593、藍色為 #4e3a4f、洋紅為 #61372f。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Panels 相似的配色

資料來源:terminal.sexy (MIT)