跳到主要內容

Carbon Paper

Carbon Paper 是一套淺色終端機配色(暖色),背景色 #f8f6ed,文字色 #1d2028,對比度 15.0:1

取得設定檔
背景色
#f8f6ed
前景色
#1d2028
文字對比度
15.04:1AAA
強調色對比度
8.03:1最低 6.72
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
❯

Carbon Paper 的設定檔

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

Carbon Paper

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

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

palette = 0=#2c3038
palette = 1=#842424
palette = 2=#145a37
palette = 3=#654d00
palette = 4=#17458b
palette = 5=#603187
palette = 6=#005866
palette = 7=#3c4048
palette = 8=#474b53
palette = 9=#902a2a
palette = 10=#185f3d
palette = 11=#6d5300
palette = 12=#123a78
palette = 13=#67398f
palette = 14=#004b57
palette = 15=#454951
background = #f8f6ed
foreground = #1d2028
cursor-color = #31558e
cursor-text = #f8f6ed
selection-background = #ddd9cb
selection-foreground = #1d2028

Carbon Paper 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f8f6edrgb(248 246 237)hsl(49 44% 95%)oklch(97.2% 0.012 96.4)—
前景色foreground#1d2028rgb(29 32 40)hsl(224 16% 14%)oklch(24.4% 0.016 269.0)15.04 AAA
游標cursor#31558ergb(49 85 142)hsl(217 49% 37%)oklch(45.2% 0.103 259.2)6.88 AA
游標文字cursorText#f8f6edrgb(248 246 237)hsl(49 44% 95%)oklch(97.2% 0.012 96.4)1.00 低於 AA
選取範圍selection#ddd9cbrgb(221 217 203)hsl(47 21% 83%)oklch(88.5% 0.019 93.7)1.31 低於 AA
選取文字selectionText#1d2028rgb(29 32 40)hsl(224 16% 14%)oklch(24.4% 0.016 269.0)15.04 AAA
黑color0#2c3038rgb(44 48 56)hsl(220 12% 20%)oklch(30.9% 0.015 264.3)12.22 AAA
紅color1#842424rgb(132 36 36)hsl(0 57% 33%)oklch(41.4% 0.131 25.0)8.59 AAA
綠color2#145a37rgb(20 90 55)hsl(150 64% 22%)oklch(41.6% 0.090 156.5)7.61 AAA
黃color3#654d00rgb(101 77 0)hsl(46 100% 20%)oklch(43.3% 0.089 87.9)7.42 AAA
藍color4#17458brgb(23 69 139)hsl(216 72% 32%)oklch(40.2% 0.127 259.0)8.58 AAA
洋紅color5#603187rgb(96 49 135)hsl(273 47% 36%)oklch(41.7% 0.141 306.4)8.48 AAA
青color6#005866rgb(0 88 102)hsl(188 100% 20%)oklch(42.3% 0.074 213.2)7.50 AAA
白color7#3c4048rgb(60 64 72)hsl(220 9% 26%)oklch(37.1% 0.015 264.4)9.61 AAA
亮黑color8#474b53rgb(71 75 83)hsl(220 8% 30%)oklch(41.2% 0.014 264.4)8.08 AAA
亮紅color9#902a2argb(144 42 42)hsl(0 55% 36%)oklch(44.3% 0.137 24.7)7.61 AAA
亮綠color10#185f3drgb(24 95 61)hsl(151 60% 23%)oklch(43.3% 0.089 157.9)7.07 AAA
亮黃color11#6d5300rgb(109 83 0)hsl(46 100% 21%)oklch(45.7% 0.093 87.6)6.72 AA
亮藍color12#123a78rgb(18 58 120)hsl(216 74% 27%)oklch(36.0% 0.115 259.3)10.20 AAA
亮洋紅color13#67398frgb(103 57 143)hsl(272 43% 39%)oklch(44.3% 0.140 306.2)7.58 AAA
亮青color14#004b57rgb(0 75 87)hsl(188 100% 17%)oklch(37.9% 0.066 212.9)9.05 AAA
亮白color15#454951rgb(69 73 81)hsl(220 8% 29%)oklch(40.5% 0.014 264.4)8.34 AAA

關於 Carbon Paper

Carbon Paper 採用暖色調的淺色背景(#f8f6ed),預設前景色為 #1d2028。內文的 WCAG 對比度為 15.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.03:1,最低 6.72:1。

色票整體色彩彩度適中,其中紅色為 #842424、綠色為 #145a37、藍色為 #17458b、洋紅為 #603187。

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

與 Carbon Paper 相似的配色

資料來源:iTerm2 Color Schemes (MIT)