跳到主要內容

Grandshell

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

取得設定檔
背景色
#000000
前景色
#bebebe
文字對比度
11.30:1AAA
強調色對比度
11.43:1最低 3.73
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
❯

Grandshell 的設定檔

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

Grandshell

存到 ~/.config/ghostty/themes/Grandshell,再在 config 或 config.ghostty 裏寫 theme = Grandshell

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

palette = 0=#000000
palette = 1=#f25a5a
palette = 2=#77bb33
palette = 3=#efc334
palette = 4=#5555dd
palette = 5=#c350ff
palette = 6=#5af2ee
palette = 7=#bebebe
palette = 8=#222222
palette = 9=#ffbbbb
palette = 10=#dcf692
palette = 11=#f6df92
palette = 12=#b2baf6
palette = 13=#f09fff
palette = 14=#5af2ee
palette = 15=#eeeeee
background = #000000
foreground = #bebebe
cursor-color = #bebebe
cursor-text = #000000
selection-background = #161616
selection-foreground = #bebebe

Grandshell 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)11.30 AAA
光標cursor#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)11.30 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.16 低於 AA
選取文字selectionText#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)11.30 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#f25a5argb(242 90 90)hsl(0 85% 65%)oklch(66.8% 0.187 23.7)6.39 AA
綠color2#77bb33rgb(119 187 51)hsl(90 57% 47%)oklch(72.0% 0.179 132.7)8.94 AAA
黃color3#efc334rgb(239 195 52)hsl(46 85% 57%)oklch(83.3% 0.156 90.5)12.53 AAA
藍color4#5555ddrgb(85 85 221)hsl(240 67% 60%)oklch(53.1% 0.202 277.0)3.73 AA 大字體
洋紅color5#c350ffrgb(195 80 255)hsl(279 100% 66%)oklch(65.8% 0.254 311.5)5.91 AA
青color6#5af2eergb(90 242 238)hsl(178 85% 65%)oklch(88.1% 0.127 192.6)15.37 AAA
白color7#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)11.30 AAA
亮黑color8#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
亮紅color9#ffbbbbrgb(255 187 187)hsl(0 100% 87%)oklch(85.5% 0.079 18.8)13.08 AAA
亮綠color10#dcf692rgb(220 246 146)hsl(76 85% 77%)oklch(93.2% 0.128 120.8)17.64 AAA
亮黃color11#f6df92rgb(246 223 146)hsl(46 85% 77%)oklch(90.5% 0.100 93.4)15.89 AAA
亮藍color12#b2baf6rgb(178 186 246)hsl(233 79% 83%)oklch(80.4% 0.085 278.4)11.25 AAA
亮洋紅color13#f09fffrgb(240 159 255)hsl(291 100% 81%)oklch(81.5% 0.156 321.2)11.11 AAA
亮青color14#5af2eergb(90 242 238)hsl(178 85% 65%)oklch(88.1% 0.127 192.6)15.37 AAA
亮白color15#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)18.10 AAA

關於 Grandshell

Grandshell 採用中性色調的深色背景(#000000),預設前景色為 #bebebe。正文的 WCAG 對比度為 11.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.43:1,最低 3.73:1。

色板整體色彩飽和度適中,其中紅色為 #f25a5a、綠色為 #77bb33、藍色為 #5555dd、洋紅為 #c350ff。

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

與 Grandshell 相似的配色

資料來源:terminal.sexy (MIT)