跳到主要內容

Grok Night

Grok Night 是一套深色終端機配色,背景色 #141414,文字色 #e1e1e1,對比度 14.1:1

取得設定檔
背景色
#141414
前景色
#e1e1e1
文字對比度
14.09:1AAA
強調色對比度
8.71:1最低 6.96
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
❯

Grok Night 的設定檔

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

Grok Night

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

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

palette = 0=#0a0a0a
palette = 1=#f7768e
palette = 2=#9ece6a
palette = 3=#e0af68
palette = 4=#7aa2f7
palette = 5=#bb9af7
palette = 6=#7dcfff
palette = 7=#c8c8c8
palette = 8=#6c6c6c
palette = 9=#f7768e
palette = 10=#9ece6a
palette = 11=#e0af68
palette = 12=#7aa2f7
palette = 13=#bb9af7
palette = 14=#7dcfff
palette = 15=#e1e1e1
background = #141414
foreground = #e1e1e1
cursor-color = #e0af68
cursor-text = #141414
selection-background = #242424
selection-foreground = #e1e1e1

Grok Night 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)—
前景色foreground#e1e1e1rgb(225 225 225)hsl(0 0% 88%)oklch(91.0% 0.000 0)14.09 AAA
光標cursor#e0af68rgb(224 175 104)hsl(36 66% 64%)oklch(78.4% 0.106 75.4)9.21 AAA
光標文字cursorText#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)1.00 低於 AA
選取範圍selection#242424rgb(36 36 36)hsl(0 0% 14%)oklch(26.0% 0.000 0)1.19 低於 AA
選取文字selectionText#e1e1e1rgb(225 225 225)hsl(0 0% 88%)oklch(91.0% 0.000 0)14.09 AAA
黑color0#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)1.07 低於 AA
紅color1#f7768ergb(247 118 142)hsl(349 89% 72%)oklch(72.3% 0.159 10.3)6.96 AA
綠color2#9ece6argb(158 206 106)hsl(89 51% 61%)oklch(79.5% 0.139 130.1)10.08 AAA
黃color3#e0af68rgb(224 175 104)hsl(36 66% 64%)oklch(78.4% 0.106 75.4)9.21 AAA
藍color4#7aa2f7rgb(122 162 247)hsl(221 89% 72%)oklch(71.9% 0.132 264.2)7.32 AAA
洋紅color5#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.96 AAA
青color6#7dcfffrgb(125 207 255)hsl(202 100% 75%)oklch(82.0% 0.105 235.7)10.74 AAA
白color7#c8c8c8rgb(200 200 200)hsl(0 0% 78%)oklch(83.3% 0.000 0)11.01 AAA
亮黑color8#6c6c6crgb(108 108 108)hsl(0 0% 42%)oklch(53.1% 0.000 0)3.51 AA 大字體
亮紅color9#f7768ergb(247 118 142)hsl(349 89% 72%)oklch(72.3% 0.159 10.3)6.96 AA
亮綠color10#9ece6argb(158 206 106)hsl(89 51% 61%)oklch(79.5% 0.139 130.1)10.08 AAA
亮黃color11#e0af68rgb(224 175 104)hsl(36 66% 64%)oklch(78.4% 0.106 75.4)9.21 AAA
亮藍color12#7aa2f7rgb(122 162 247)hsl(221 89% 72%)oklch(71.9% 0.132 264.2)7.32 AAA
亮洋紅color13#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.96 AAA
亮青color14#7dcfffrgb(125 207 255)hsl(202 100% 75%)oklch(82.0% 0.105 235.7)10.74 AAA
亮白color15#e1e1e1rgb(225 225 225)hsl(0 0% 88%)oklch(91.0% 0.000 0)14.09 AAA

關於 Grok Night

Grok Night 採用中性色調的深色背景(#141414),預設前景色為 #e1e1e1。正文的 WCAG 對比度為 14.09:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.71:1,最低 6.96:1。

色板整體色彩飽和度適中,其中紅色為 #f7768e、綠色為 #9ece6a、藍色為 #7aa2f7、洋紅為 #bb9af7。

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

與 Grok Night 相似的配色

資料來源:iTerm2 Color Schemes (MIT)