跳到主要內容

Fahrenheit

Fahrenheit 是一套深色終端機配色(純黑),背景色 #000000,文字色 #ffffce,對比度 20.4:1

取得設定檔
背景色
#000000
前景色
#ffffce
文字對比度
20.45:1AAA
強調色對比度
7.85:1最低 1.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
❯

Fahrenheit 的設定檔

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

Fahrenheit

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

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

palette = 0=#1d1d1d
palette = 1=#cda074
palette = 2=#9e744d
palette = 3=#fecf75
palette = 4=#720102
palette = 5=#734c4d
palette = 6=#979797
palette = 7=#ffffce
palette = 8=#000000
palette = 9=#fecea0
palette = 10=#cc734d
palette = 11=#fd9f4d
palette = 12=#cb4a05
palette = 13=#4e739f
palette = 14=#fed04d
palette = 15=#ffffff
background = #000000
foreground = #ffffce
cursor-color = #bbbbbb
cursor-text = #ffffff
selection-background = #4e739f
selection-foreground = #ffffce

Fahrenheit 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffcergb(255 255 206)hsl(60 100% 90%)oklch(98.8% 0.063 107.5)20.45 AAA
光標cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選取範圍selection#4e739frgb(78 115 159)hsl(213 34% 46%)oklch(54.7% 0.081 253.4)4.28 AA 大字體
選取文字selectionText#ffffcergb(255 255 206)hsl(60 100% 90%)oklch(98.8% 0.063 107.5)20.45 AAA
黑color0#1d1d1drgb(29 29 29)hsl(0 0% 11%)oklch(23.1% 0.000 0)1.25 低於 AA
紅color1#cda074rgb(205 160 116)hsl(30 47% 63%)oklch(73.7% 0.080 65.4)8.88 AAA
綠color2#9e744drgb(158 116 77)hsl(29 34% 46%)oklch(59.2% 0.076 63.4)5.06 AA
黃color3#fecf75rgb(254 207 117)hsl(39 99% 73%)oklch(87.7% 0.121 82.3)14.40 AAA
藍color4#720102rgb(114 1 2)hsl(359 98% 23%)oklch(34.7% 0.141 28.8)1.72 低於 AA
洋紅color5#734c4drgb(115 76 77)hsl(358 20% 37%)oklch(46.0% 0.053 17.6)2.87 低於 AA
青color6#979797rgb(151 151 151)hsl(0 0% 59%)oklch(67.6% 0.000 0)7.19 AAA
白color7#ffffcergb(255 255 206)hsl(60 100% 90%)oklch(98.8% 0.063 107.5)20.45 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
亮紅color9#fecea0rgb(254 206 160)hsl(29 98% 81%)oklch(88.2% 0.081 65.2)14.55 AAA
亮綠color10#cc734drgb(204 115 77)hsl(18 55% 55%)oklch(64.7% 0.124 43.3)6.13 AA
亮黃color11#fd9f4drgb(253 159 77)hsl(28 98% 65%)oklch(78.4% 0.147 59.0)10.24 AAA
亮藍color12#cb4a05rgb(203 74 5)hsl(21 95% 41%)oklch(57.9% 0.176 41.0)4.52 AA
亮洋紅color13#4e739frgb(78 115 159)hsl(213 34% 46%)oklch(54.7% 0.081 253.4)4.28 AA 大字體
亮青color14#fed04drgb(254 208 77)hsl(44 99% 65%)oklch(87.5% 0.152 89.1)14.34 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Fahrenheit

Fahrenheit 採用中性色調的深色背景(#000000),預設前景色為 #ffffce。正文的 WCAG 對比度為 20.45:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.85:1,最低 1.72:1。

色板整體色彩飽和度適中,其中紅色為 #cda074、綠色為 #9e744d、藍色為 #720102、洋紅為 #734c4d。

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

與 Fahrenheit 相似的配色

資料來源:iTerm2 Color Schemes (CC-BY-SA-4.0)