跳到主要內容

Forest Night

Forest Night 是一套深色終端機配色(粉彩、冷色),背景色 #3c4c55,文字色 #ffebc3,對比度 7.6:1

取得設定檔
背景色
#3c4c55
前景色
#ffebc3
文字對比度
7.60:1AAA
強調色對比度
5.34:1最低 3.75
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
❯

Forest Night 的設定檔

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

Forest Night

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

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

palette = 0=#7f8f9f
palette = 1=#fd8489
palette = 2=#a9dd9d
palette = 3=#f0aa8a
palette = 4=#bdd0e5
palette = 5=#daccf0
palette = 6=#a9dd9d
palette = 7=#ffebc3
palette = 8=#7f8f9f
palette = 9=#fd8489
palette = 10=#a9dd9d
palette = 11=#eed094
palette = 12=#bdd0e5
palette = 13=#daccf0
palette = 14=#a9dd9d
palette = 15=#ffebc3
background = #3c4c55
foreground = #ffebc3
cursor-color = #ffebc3
cursor-text = #3c4c55
selection-background = #697170
selection-foreground = #ffebc3

Forest Night 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#3c4c55rgb(60 76 85)hsl(202 17% 28%)oklch(40.6% 0.025 232.8)—
前景色foreground#ffebc3rgb(255 235 195)hsl(40 100% 88%)oklch(94.6% 0.056 84.5)7.60 AAA
光標cursor#ffebc3rgb(255 235 195)hsl(40 100% 88%)oklch(94.6% 0.056 84.5)7.60 AAA
光標文字cursorText#3c4c55rgb(60 76 85)hsl(202 17% 28%)oklch(40.6% 0.025 232.8)1.00 低於 AA
選取範圍selection#697170rgb(105 113 112)hsl(173 4% 43%)oklch(54.1% 0.010 187.9)1.78 低於 AA
選取文字selectionText#ffebc3rgb(255 235 195)hsl(40 100% 88%)oklch(94.6% 0.056 84.5)7.60 AAA
黑color0#7f8f9frgb(127 143 159)hsl(210 14% 56%)oklch(64.3% 0.030 248.3)2.69 低於 AA
紅color1#fd8489rgb(253 132 137)hsl(358 97% 75%)oklch(75.0% 0.147 18.7)3.75 AA 大字體
綠color2#a9dd9drgb(169 221 157)hsl(109 48% 74%)oklch(84.5% 0.102 139.8)5.73 AA
黃color3#f0aa8argb(240 170 138)hsl(19 77% 74%)oklch(79.7% 0.094 45.5)4.59 AA
藍color4#bdd0e5rgb(189 208 229)hsl(212 43% 82%)oklch(85.0% 0.036 250.9)5.65 AA
洋紅color5#daccf0rgb(218 204 240)hsl(263 55% 87%)oklch(86.8% 0.051 303.0)5.89 AA
青color6#a9dd9drgb(169 221 157)hsl(109 48% 74%)oklch(84.5% 0.102 139.8)5.73 AA
白color7#ffebc3rgb(255 235 195)hsl(40 100% 88%)oklch(94.6% 0.056 84.5)7.60 AAA
亮黑color8#7f8f9frgb(127 143 159)hsl(210 14% 56%)oklch(64.3% 0.030 248.3)2.69 低於 AA
亮紅color9#fd8489rgb(253 132 137)hsl(358 97% 75%)oklch(75.0% 0.147 18.7)3.75 AA 大字體
亮綠color10#a9dd9drgb(169 221 157)hsl(109 48% 74%)oklch(84.5% 0.102 139.8)5.73 AA
亮黃color11#eed094rgb(238 208 148)hsl(40 73% 76%)oklch(86.9% 0.084 84.2)5.98 AA
亮藍color12#bdd0e5rgb(189 208 229)hsl(212 43% 82%)oklch(85.0% 0.036 250.9)5.65 AA
亮洋紅color13#daccf0rgb(218 204 240)hsl(263 55% 87%)oklch(86.8% 0.051 303.0)5.89 AA
亮青color14#a9dd9drgb(169 221 157)hsl(109 48% 74%)oklch(84.5% 0.102 139.8)5.73 AA
亮白color15#ffebc3rgb(255 235 195)hsl(40 100% 88%)oklch(94.6% 0.056 84.5)7.60 AAA

關於 Forest Night

Forest Night 採用冷色調的深色背景(#3c4c55),預設前景色為 #ffebc3。正文的 WCAG 對比度為 7.60:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.34:1,最低 3.75:1。

色板整體色彩飽和度適中,其中紅色為 #fd8489、綠色為 #a9dd9d、藍色為 #bdd0e5、洋紅為 #daccf0。

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

與 Forest Night 相似的配色

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