跳到主要內容

Carbonfox

Carbonfox 是一套深色終端機配色,背景色 #161616,文字色 #f2f4f8,對比度 16.4:1

取得設定檔
背景色
#161616
前景色
#f2f4f8
文字對比度
16.43:1AAA
強調色對比度
7.81:1最低 5.44
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
❯

Carbonfox 的設定檔

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

Carbonfox

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

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

palette = 0=#282828
palette = 1=#ee5396
palette = 2=#25be6a
palette = 3=#08bdba
palette = 4=#78a9ff
palette = 5=#be95ff
palette = 6=#33b1ff
palette = 7=#dfdfe0
palette = 8=#484848
palette = 9=#f16da6
palette = 10=#46c880
palette = 11=#2dc7c4
palette = 12=#8cb6ff
palette = 13=#c8a5ff
palette = 14=#52bdff
palette = 15=#e4e4e5
background = #161616
foreground = #f2f4f8
cursor-color = #f2f4f8
cursor-text = #161616
selection-background = #2a2a2a
selection-foreground = #f2f4f8

Carbonfox 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)—
前景色foreground#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA
游標cursor#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA
游標文字cursorText#161616rgb(22 22 22)hsl(0 0% 9%)oklch(20.0% 0.000 0)1.00 低於 AA
選取範圍selection#2a2a2argb(42 42 42)hsl(0 0% 16%)oklch(28.5% 0.000 0)1.26 低於 AA
選取文字selectionText#f2f4f8rgb(242 244 248)hsl(220 30% 96%)oklch(96.7% 0.006 264.5)16.43 AAA
黑color0#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.23 低於 AA
紅color1#ee5396rgb(238 83 150)hsl(334 82% 63%)oklch(66.9% 0.199 357.3)5.44 AA
綠color2#25be6argb(37 190 106)hsl(147 67% 45%)oklch(70.7% 0.172 152.9)7.46 AAA
黃color3#08bdbargb(8 189 186)hsl(179 92% 39%)oklch(72.2% 0.123 192.7)7.75 AAA
藍color4#78a9ffrgb(120 169 255)hsl(218 100% 74%)oklch(73.6% 0.136 261.1)7.68 AAA
洋紅color5#be95ffrgb(190 149 255)hsl(263 100% 79%)oklch(74.9% 0.153 300.6)7.70 AAA
青color6#33b1ffrgb(51 177 255)hsl(203 100% 60%)oklch(72.9% 0.155 241.7)7.65 AAA
白color7#dfdfe0rgb(223 223 224)hsl(240 2% 88%)oklch(90.4% 0.001 286.4)13.59 AAA
亮黑color8#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)1.98 低於 AA
亮紅color9#f16da6rgb(241 109 166)hsl(334 83% 69%)oklch(70.9% 0.172 355.3)6.44 AA
亮綠color10#46c880rgb(70 200 128)hsl(147 54% 53%)oklch(74.4% 0.155 155.2)8.47 AAA
亮黃color11#2dc7c4rgb(45 199 196)hsl(179 63% 48%)oklch(75.4% 0.121 192.9)8.68 AAA
亮藍color12#8cb6ffrgb(140 182 255)hsl(218 100% 77%)oklch(77.5% 0.115 261.1)8.83 AAA
亮洋紅color13#c8a5ffrgb(200 165 255)hsl(263 100% 82%)oklch(78.6% 0.130 301.4)8.86 AAA
亮青color14#52bdffrgb(82 189 255)hsl(203 100% 66%)oklch(76.4% 0.136 239.3)8.69 AAA
亮白color15#e4e4e5rgb(228 228 229)hsl(240 2% 90%)oklch(91.9% 0.001 286.4)14.24 AAA

關於 Carbonfox

Carbonfox 採用中性色調的深色背景(#161616),預設前景色為 #f2f4f8。內文的 WCAG 對比度為 16.43:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.81:1,最低 5.44:1。

色票整體色彩彩度適中,其中紅色為 #ee5396、綠色為 #25be6a、藍色為 #78a9ff、洋紅為 #be95ff。此配色歸屬 Nightfox 主題系列。

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

與 Carbonfox 相似的配色

資料來源:iTerm2 Color Schemes (MIT)