跳到主要內容

Patina Light

Patina Light 是一套淺色終端機配色(低彩度、暖色),背景色 #ddd7c4,文字色 #2e2a24,對比度 9.9:1

取得設定檔
背景色
#ddd7c4
前景色
#2e2a24
文字對比度
9.91:1AAA
強調色對比度
5.22:1最低 4.71
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
❯

Patina Light 的設定檔

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

Patina Light

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

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

palette = 0=#2e2a24
palette = 1=#9b3b3b
palette = 2=#34644c
palette = 3=#6e5817
palette = 4=#2f626f
palette = 5=#7a4f47
palette = 6=#2e6260
palette = 7=#5a5248
palette = 8=#625a51
palette = 9=#833333
palette = 10=#2d5839
palette = 11=#634e14
palette = 12=#2c5660
palette = 13=#6d463e
palette = 14=#285654
palette = 15=#393a34
background = #ddd7c4
foreground = #2e2a24
cursor-color = #2e2a24
cursor-text = #ddd7c4
selection-background = #bfb8a3
selection-foreground = #2e2a24

Patina Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ddd7c4rgb(221 215 196)hsl(46 27% 82%)oklch(87.9% 0.026 92.4)—
前景色foreground#2e2a24rgb(46 42 36)hsl(36 12% 16%)oklch(28.7% 0.012 78.1)9.91 AAA
游標cursor#2e2a24rgb(46 42 36)hsl(36 12% 16%)oklch(28.7% 0.012 78.1)9.91 AAA
游標文字cursorText#ddd7c4rgb(221 215 196)hsl(46 27% 82%)oklch(87.9% 0.026 92.4)1.00 低於 AA
選取範圍selection#bfb8a3rgb(191 184 163)hsl(45 18% 69%)oklch(78.3% 0.030 91.7)1.38 低於 AA
選取文字selectionText#2e2a24rgb(46 42 36)hsl(36 12% 16%)oklch(28.7% 0.012 78.1)9.91 AAA
黑color0#2e2a24rgb(46 42 36)hsl(36 12% 16%)oklch(28.7% 0.012 78.1)9.91 AAA
紅color1#9b3b3brgb(155 59 59)hsl(0 45% 42%)oklch(48.6% 0.129 23.2)4.73 AA
綠color2#34644crgb(52 100 76)hsl(150 32% 30%)oklch(46.2% 0.066 160.5)4.75 AA
黃color3#6e5817rgb(110 88 23)hsl(45 65% 26%)oklch(47.0% 0.085 89.3)4.75 AA
藍color4#2f626frgb(47 98 111)hsl(192 41% 31%)oklch(46.6% 0.058 216.6)4.71 AA
洋紅color5#7a4f47rgb(122 79 71)hsl(9 26% 38%)oklch(47.3% 0.060 31.0)4.80 AA
青color6#2e6260rgb(46 98 96)hsl(178 36% 28%)oklch(46.0% 0.056 192.1)4.81 AA
白color7#5a5248rgb(90 82 72)hsl(33 11% 32%)oklch(44.3% 0.019 73.4)5.33 AA
亮黑color8#625a51rgb(98 90 81)hsl(32 9% 35%)oklch(47.2% 0.018 70.7)4.71 AA
亮紅color9#833333rgb(131 51 51)hsl(0 44% 36%)oklch(43.4% 0.111 22.9)5.87 AA
亮綠color10#2d5839rgb(45 88 57)hsl(137 32% 26%)oklch(42.0% 0.071 151.3)5.69 AA
亮黃color11#634e14rgb(99 78 20)hsl(44 66% 23%)oklch(43.4% 0.079 88.0)5.55 AA
亮藍color12#2c5660rgb(44 86 96)hsl(192 37% 27%)oklch(42.7% 0.050 215.0)5.60 AA
亮洋紅color13#6d463ergb(109 70 62)hsl(10 27% 34%)oklch(43.6% 0.056 32.1)5.62 AA
亮青color14#285654rgb(40 86 84)hsl(177 37% 25%)oklch(42.0% 0.051 191.7)5.72 AA
亮白color15#393a34rgb(57 58 52)hsl(70 5% 22%)oklch(34.5% 0.010 114.6)7.98 AAA

關於 Patina Light

Patina Light 採用暖色調的淺色背景(#ddd7c4),預設前景色為 #2e2a24。內文的 WCAG 對比度為 9.91:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.22:1,最低 4.71:1。

色票整體色彩彩度偏低,其中紅色為 #9b3b3b、綠色為 #34644c、藍色為 #2f626f、洋紅為 #7a4f47。此配色歸屬 Patina 主題系列。

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

與 Patina Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)