跳到主要內容

Borland

Borland 是一套深色終端機配色(粉彩、冷色),背景色 #0000a4,文字色 #ffff4e,對比度 12.8:1

取得設定檔
背景色
#0000a4
前景色
#ffff4e
文字對比度
12.80:1AAA
強調色對比度
9.38:1最低 4.93
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
❯

Borland 的設定檔

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

Borland

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

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

palette = 0=#4f4f4f
palette = 1=#ff6c60
palette = 2=#a8ff60
palette = 3=#ffffb6
palette = 4=#96cbfe
palette = 5=#ff73fd
palette = 6=#c6c5fe
palette = 7=#eeeeee
palette = 8=#7c7c7c
palette = 9=#ffb6b0
palette = 10=#ceffac
palette = 11=#ffffcc
palette = 12=#b5dcff
palette = 13=#ff9cfe
palette = 14=#dfdffe
palette = 15=#ffffff
background = #0000a4
foreground = #ffff4e
cursor-color = #ffa560
cursor-text = #ffffff
selection-background = #a4a4a4
selection-foreground = #0000a4

Borland 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0000a4rgb(0 0 164)hsl(240 100% 32%)oklch(32.5% 0.225 264.1)—
前景色foreground#ffff4ergb(255 255 78)hsl(60 100% 65%)oklch(97.0% 0.187 109.4)12.80 AAA
游標cursor#ffa560rgb(255 165 96)hsl(26 100% 69%)oklch(79.8% 0.136 56.7)7.03 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.67 AAA
選取範圍selection#a4a4a4rgb(164 164 164)hsl(0 0% 64%)oklch(71.9% 0.000 0)5.48 AA
選取文字selectionText#0000a4rgb(0 0 164)hsl(240 100% 32%)oklch(32.5% 0.225 264.1)1.00 低於 AA
黑color0#4f4f4frgb(79 79 79)hsl(0 0% 31%)oklch(42.8% 0.000 0)1.67 低於 AA
紅color1#ff6c60rgb(255 108 96)hsl(5 100% 69%)oklch(71.1% 0.182 27.3)4.93 AA
綠color2#a8ff60rgb(168 255 96)hsl(93 100% 69%)oklch(91.4% 0.209 133.4)11.16 AAA
黃color3#ffffb6rgb(255 255 182)hsl(60 100% 86%)oklch(98.3% 0.092 108.0)13.17 AAA
藍color4#96cbfergb(150 203 254)hsl(209 98% 79%)oklch(82.4% 0.091 248.0)7.99 AAA
洋紅color5#ff73fdrgb(255 115 253)hsl(301 100% 73%)oklch(77.0% 0.232 328.1)5.94 AA
青color6#c6c5fergb(198 197 254)hsl(241 97% 88%)oklch(84.4% 0.079 285.4)8.35 AAA
白color7#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)11.78 AAA
亮黑color8#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)3.28 AA 大字級
亮紅color9#ffb6b0rgb(255 182 176)hsl(5 100% 85%)oklch(84.3% 0.086 24.3)8.18 AAA
亮綠color10#ceffacrgb(206 255 172)hsl(95 100% 84%)oklch(94.6% 0.119 133.1)12.06 AAA
亮黃color11#ffffccrgb(255 255 204)hsl(60 100% 90%)oklch(98.8% 0.065 107.5)13.30 AAA
亮藍color12#b5dcffrgb(181 220 255)hsl(208 100% 85%)oklch(87.8% 0.064 245.7)9.53 AAA
亮洋紅color13#ff9cfergb(255 156 254)hsl(301 100% 81%)oklch(82.6% 0.169 327.3)7.45 AAA
亮青color14#dfdffergb(223 223 254)hsl(240 94% 94%)oklch(91.3% 0.042 285.5)10.50 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.67 AAA

關於 Borland

Borland 採用冷色調的深色背景(#0000a4),預設前景色為 #ffff4e。內文的 WCAG 對比度為 12.80:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.38:1,最低 4.93:1。

色票整體色彩彩度適中,其中紅色為 #ff6c60、綠色為 #a8ff60、藍色為 #96cbfe、洋紅為 #ff73fd。

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

與 Borland 相似的配色

資料來源:iTerm2 Color Schemes (MIT)