跳到主要內容

Navy and Ivory

Navy and Ivory 是一套深色終端機配色(冷色),背景色 #021b21,文字色 #e8dfd6,對比度 13.5:1

取得設定檔
背景色
#021b21
前景色
#e8dfd6
文字對比度
13.51:1AAA
強調色對比度
6.59:1最低 1.41
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
❯

Navy and Ivory 的設定檔

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

Navy and Ivory

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

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

palette = 0=#032c36
palette = 1=#c2454e
palette = 2=#7cbf9e
palette = 3=#8a7a63
palette = 4=#2e3340
palette = 5=#ff5879
palette = 6=#44b5b1
palette = 7=#f2f1b9
palette = 8=#065f73
palette = 9=#ef5847
palette = 10=#a2d9b1
palette = 11=#beb090
palette = 12=#61778d
palette = 13=#ff99a1
palette = 14=#9ed9d8
palette = 15=#f6f6c9
background = #021b21
foreground = #e8dfd6
cursor-color = #e8dfd6
cursor-text = #021b21
selection-background = #354649
selection-foreground = #e8dfd6

Navy and Ivory 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#021b21rgb(2 27 33)hsl(192 89% 7%)oklch(20.6% 0.034 215.8)—
前景色foreground#e8dfd6rgb(232 223 214)hsl(30 28% 87%)oklch(90.8% 0.016 67.6)13.51 AAA
游標cursor#e8dfd6rgb(232 223 214)hsl(30 28% 87%)oklch(90.8% 0.016 67.6)13.51 AAA
游標文字cursorText#021b21rgb(2 27 33)hsl(192 89% 7%)oklch(20.6% 0.034 215.8)1.00 低於 AA
選取範圍selection#354649rgb(53 70 73)hsl(189 16% 25%)oklch(38.1% 0.022 209.5)1.80 低於 AA
選取文字selectionText#e8dfd6rgb(232 223 214)hsl(30 28% 87%)oklch(90.8% 0.016 67.6)13.51 AAA
黑color0#032c36rgb(3 44 54)hsl(192 89% 11%)oklch(27.2% 0.047 218.5)1.20 低於 AA
紅color1#c2454ergb(194 69 78)hsl(356 51% 52%)oklch(56.6% 0.160 19.7)3.60 AA 大字級
綠color2#7cbf9ergb(124 191 158)hsl(150 34% 62%)oklch(75.0% 0.084 162.1)8.30 AAA
黃color3#8a7a63rgb(138 122 99)hsl(35 16% 46%)oklch(58.8% 0.039 76.8)4.27 AA 大字級
藍color4#2e3340rgb(46 51 64)hsl(223 16% 22%)oklch(32.2% 0.024 268.5)1.41 低於 AA
洋紅color5#ff5879rgb(255 88 121)hsl(348 100% 67%)oklch(69.2% 0.202 12.5)5.86 AA
青color6#44b5b1rgb(68 181 177)hsl(178 45% 49%)oklch(70.9% 0.101 191.8)7.19 AAA
白color7#f2f1b9rgb(242 241 185)hsl(59 69% 84%)oklch(94.5% 0.072 106.8)15.29 AAA
亮黑color8#065f73rgb(6 95 115)hsl(191 90% 24%)oklch(44.9% 0.080 219.2)2.45 低於 AA
亮紅color9#ef5847rgb(239 88 71)hsl(6 84% 61%)oklch(65.8% 0.189 29.5)5.21 AA
亮綠color10#a2d9b1rgb(162 217 177)hsl(136 42% 74%)oklch(83.6% 0.080 152.9)11.09 AAA
亮黃color11#beb090rgb(190 176 144)hsl(42 26% 65%)oklch(76.1% 0.047 87.2)8.30 AAA
亮藍color12#61778drgb(97 119 141)hsl(210 18% 47%)oklch(56.0% 0.043 248.6)3.84 AA 大字級
亮洋紅color13#ff99a1rgb(255 153 161)hsl(355 100% 80%)oklch(79.0% 0.122 15.2)8.74 AAA
亮青color14#9ed9d8rgb(158 217 216)hsl(179 44% 74%)oklch(84.5% 0.060 194.8)11.32 AAA
亮白color15#f6f6c9rgb(246 246 201)hsl(60 71% 88%)oklch(96.2% 0.058 107.4)16.04 AAA

關於 Navy and Ivory

Navy and Ivory 採用冷色調的深色背景(#021b21),預設前景色為 #e8dfd6。內文的 WCAG 對比度為 13.51:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.59:1,最低 1.41:1。

色票整體色彩彩度適中,其中紅色為 #c2454e、綠色為 #7cbf9e、藍色為 #2e3340、洋紅為 #ff5879。

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

與 Navy and Ivory 相似的配色

資料來源:terminal.sexy (MIT)