跳到主要內容

Terracotta

Terracotta 是一套淺色終端機配色(柔和、低彩度),背景色 #efeae8,文字色 #473731,對比度 9.5:1

取得設定檔
背景色
#efeae8
前景色
#473731
文字對比度
9.47:1AAA
強調色對比度
3.93:1最低 2.22
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
❯

Terracotta 的設定檔

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

Terracotta

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

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

palette = 0=#efeae8
palette = 1=#a75045
palette = 2=#7a894a
palette = 3=#ce943e
palette = 4=#625574
palette = 5=#8d5968
palette = 6=#847f9e
palette = 7=#473731
palette = 8=#c0aca4
palette = 9=#a75045
palette = 10=#7a894a
palette = 11=#ce943e
palette = 12=#625574
palette = 13=#8d5968
palette = 14=#847f9e
palette = 15=#241c19
background = #efeae8
foreground = #473731
cursor-color = #473731
cursor-text = #efeae8
selection-background = #c2b9b6
selection-foreground = #473731

Terracotta 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#efeae8rgb(239 234 232)hsl(17 18% 92%)oklch(94.0% 0.006 43.3)—
前景色foreground#473731rgb(71 55 49)hsl(16 18% 24%)oklch(35.2% 0.025 41.6)9.47 AAA
游標cursor#473731rgb(71 55 49)hsl(16 18% 24%)oklch(35.2% 0.025 41.6)9.47 AAA
游標文字cursorText#efeae8rgb(239 234 232)hsl(17 18% 92%)oklch(94.0% 0.006 43.3)1.00 低於 AA
選取範圍selection#c2b9b6rgb(194 185 182)hsl(15 9% 74%)oklch(79.2% 0.011 39.4)1.61 低於 AA
選取文字selectionText#473731rgb(71 55 49)hsl(16 18% 24%)oklch(35.2% 0.025 41.6)9.47 AAA
黑color0#efeae8rgb(239 234 232)hsl(17 18% 92%)oklch(94.0% 0.006 43.3)1.00 低於 AA
紅color1#a75045rgb(167 80 69)hsl(7 42% 46%)oklch(53.7% 0.117 28.9)4.54 AA
綠color2#7a894argb(122 137 74)hsl(74 30% 41%)oklch(60.3% 0.089 120.1)3.20 AA 大字級
黃color3#ce943ergb(206 148 62)hsl(36 60% 53%)oklch(70.7% 0.123 73.9)2.22 低於 AA
藍color4#625574rgb(98 85 116)hsl(265 15% 39%)oklch(47.4% 0.051 303.7)5.73 AA
洋紅color5#8d5968rgb(141 89 104)hsl(343 23% 45%)oklch(52.6% 0.071 1.1)4.68 AA
青color6#847f9ergb(132 127 158)hsl(250 14% 56%)oklch(61.2% 0.047 292.4)3.19 AA 大字級
白color7#473731rgb(71 55 49)hsl(16 18% 24%)oklch(35.2% 0.025 41.6)9.47 AAA
亮黑color8#c0aca4rgb(192 172 164)hsl(17 18% 70%)oklch(75.9% 0.026 43.1)1.82 低於 AA
亮紅color9#a75045rgb(167 80 69)hsl(7 42% 46%)oklch(53.7% 0.117 28.9)4.54 AA
亮綠color10#7a894argb(122 137 74)hsl(74 30% 41%)oklch(60.3% 0.089 120.1)3.20 AA 大字級
亮黃color11#ce943ergb(206 148 62)hsl(36 60% 53%)oklch(70.7% 0.123 73.9)2.22 低於 AA
亮藍color12#625574rgb(98 85 116)hsl(265 15% 39%)oklch(47.4% 0.051 303.7)5.73 AA
亮洋紅color13#8d5968rgb(141 89 104)hsl(343 23% 45%)oklch(52.6% 0.071 1.1)4.68 AA
亮青color14#847f9ergb(132 127 158)hsl(250 14% 56%)oklch(61.2% 0.047 292.4)3.19 AA 大字級
亮白color15#241c19rgb(36 28 25)hsl(16 18% 12%)oklch(23.5% 0.014 41.6)14.03 AAA

關於 Terracotta

Terracotta 採用中性色調的淺色背景(#efeae8),預設前景色為 #473731。內文的 WCAG 對比度為 9.47:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.93:1,最低 2.22:1。

色票整體色彩彩度偏低,其中紅色為 #a75045、綠色為 #7a894a、藍色為 #625574、洋紅為 #8d5968。

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

與 Terracotta 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)