跳到主要內容

Arthur

Arthur 是一套深色終端機配色,背景色 #1c1c1c,文字色 #ddeedd,對比度 14.1:1

取得設定檔
背景色
#1c1c1c
前景色
#ddeedd
文字對比度
14.08:1AAA
強調色對比度
7.19:1最低 3.45
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
❯

Arthur 的設定檔

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

Arthur

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

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

palette = 0=#3d352a
palette = 1=#cd5c5c
palette = 2=#86af80
palette = 3=#e8ae5b
palette = 4=#6495ed
palette = 5=#deb887
palette = 6=#b0c4de
palette = 7=#bbaa99
palette = 8=#554444
palette = 9=#cc5533
palette = 10=#88aa22
palette = 11=#ffa75d
palette = 12=#87ceeb
palette = 13=#996600
palette = 14=#b0c4de
palette = 15=#ddccbb
background = #1c1c1c
foreground = #ddeedd
cursor-color = #e2bbef
cursor-text = #000000
selection-background = #4d4d4d
selection-foreground = #ffffff

Arthur 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)—
前景色foreground#ddeeddrgb(221 238 221)hsl(120 33% 90%)oklch(93.2% 0.029 145.3)14.08 AAA
光標cursor#e2bbefrgb(226 187 239)hsl(285 62% 84%)oklch(84.3% 0.082 317.6)10.22 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.23 低於 AA
選取範圍selection#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)2.02 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.04 AAA
黑color0#3d352argb(61 53 42)hsl(35 18% 20%)oklch(33.4% 0.022 75.7)1.41 低於 AA
紅color1#cd5c5crgb(205 92 92)hsl(0 53% 58%)oklch(61.5% 0.144 22.2)4.29 AA 大字體
綠color2#86af80rgb(134 175 128)hsl(112 23% 59%)oklch(71.2% 0.080 141.4)6.86 AA
黃color3#e8ae5brgb(232 174 91)hsl(35 75% 63%)oklch(78.9% 0.121 74.3)8.63 AAA
藍color4#6495edrgb(100 149 237)hsl(219 79% 66%)oklch(67.5% 0.141 261.3)5.73 AA
洋紅color5#deb887rgb(222 184 135)hsl(34 57% 70%)oklch(80.5% 0.078 73.4)9.18 AAA
青color6#b0c4dergb(176 196 222)hsl(214 41% 78%)oklch(81.4% 0.043 255.0)9.57 AAA
白color7#bbaa99rgb(187 170 153)hsl(30 20% 67%)oklch(74.8% 0.031 67.3)7.57 AAA
亮黑color8#554444rgb(85 68 68)hsl(0 11% 30%)oklch(40.4% 0.023 18.2)1.86 低於 AA
亮紅color9#cc5533rgb(204 85 51)hsl(13 60% 50%)oklch(59.8% 0.159 36.6)3.99 AA 大字體
亮綠color10#88aa22rgb(136 170 34)hsl(75 67% 40%)oklch(68.9% 0.159 123.4)6.35 AA
亮黃color11#ffa75drgb(255 167 93)hsl(27 100% 68%)oklch(80.2% 0.137 59.0)8.88 AAA
亮藍color12#87ceebrgb(135 206 235)hsl(197 71% 73%)oklch(81.5% 0.082 225.8)9.79 AAA
亮洋紅color13#996600rgb(153 102 0)hsl(40 100% 30%)oklch(55.1% 0.116 74.8)3.45 AA 大字體
亮青color14#b0c4dergb(176 196 222)hsl(214 41% 78%)oklch(81.4% 0.043 255.0)9.57 AAA
亮白color15#ddccbbrgb(221 204 187)hsl(30 33% 80%)oklch(85.5% 0.030 67.4)10.90 AAA

關於 Arthur

Arthur 採用中性色調的深色背景(#1c1c1c),預設前景色為 #ddeedd。正文的 WCAG 對比度為 14.08:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.19:1,最低 3.45:1。

色板整體色彩飽和度適中,其中紅色為 #cd5c5c、綠色為 #86af80、藍色為 #6495ed、洋紅為 #deb887。

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

與 Arthur 相似的配色

資料來源:iTerm2 Color Schemes (MIT)