跳到主要內容

Cobalt Next

Cobalt Next 是一套深色終端機配色(冷色),背景色 #162c35,文字色 #d7deea,對比度 10.7:1

取得設定檔
背景色
#162c35
前景色
#d7deea
文字對比度
10.74:1AAA
強調色對比度
7.68:1最低 4.67
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
❯

Cobalt Next 的設定檔

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

Cobalt Next

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

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

palette = 0=#000000
palette = 1=#ff527b
palette = 2=#8cc98f
palette = 3=#ffc64c
palette = 4=#409dd4
palette = 5=#cba3c7
palette = 6=#37b6b4
palette = 7=#d7deea
palette = 8=#62747f
palette = 9=#e47e8b
palette = 10=#baddbb
palette = 11=#ffdc91
palette = 12=#7ac0eb
palette = 13=#f3ccef
palette = 14=#84e4e3
palette = 15=#ffffff
background = #162c35
foreground = #d7deea
cursor-color = #ffc64c
cursor-text = #d7deea
selection-background = #4c5b67
selection-foreground = #ffffff

Cobalt Next 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#162c35rgb(22 44 53)hsl(197 41% 15%)oklch(27.9% 0.032 226.4)—
前景色foreground#d7deeargb(215 222 234)hsl(218 31% 88%)oklch(89.9% 0.018 261.3)10.74 AAA
游標cursor#ffc64crgb(255 198 76)hsl(41 100% 65%)oklch(85.7% 0.149 83.0)9.29 AAA
游標文字cursorText#d7deeargb(215 222 234)hsl(218 31% 88%)oklch(89.9% 0.018 261.3)10.74 AAA
選取範圍selection#4c5b67rgb(76 91 103)hsl(207 15% 35%)oklch(46.3% 0.027 242.4)2.07 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.52 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.45 低於 AA
紅color1#ff527brgb(255 82 123)hsl(346 100% 66%)oklch(68.7% 0.209 10.5)4.67 AA
綠color2#8cc98frgb(140 201 143)hsl(123 36% 67%)oklch(77.9% 0.103 145.7)7.52 AAA
黃color3#ffc64crgb(255 198 76)hsl(41 100% 65%)oklch(85.7% 0.149 83.0)9.29 AAA
藍color4#409dd4rgb(64 157 212)hsl(202 63% 54%)oklch(66.4% 0.119 238.4)4.84 AA
洋紅color5#cba3c7rgb(203 163 199)hsl(306 28% 72%)oklch(76.3% 0.068 329.5)6.64 AA
青color6#37b6b4rgb(55 182 180)hsl(179 54% 46%)oklch(70.9% 0.107 193.4)5.89 AA
白color7#d7deeargb(215 222 234)hsl(218 31% 88%)oklch(89.9% 0.018 261.3)10.74 AAA
亮黑color8#62747frgb(98 116 127)hsl(203 13% 44%)oklch(54.8% 0.027 234.8)2.99 低於 AA
亮紅color9#e47e8brgb(228 126 139)hsl(352 65% 69%)oklch(70.9% 0.126 12.7)5.30 AA
亮綠color10#baddbbrgb(186 221 187)hsl(122 34% 80%)oklch(86.3% 0.059 145.8)9.79 AAA
亮黃color11#ffdc91rgb(255 220 145)hsl(41 100% 78%)oklch(90.7% 0.101 85.5)11.00 AAA
亮藍color12#7ac0ebrgb(122 192 235)hsl(203 74% 70%)oklch(77.8% 0.094 236.7)7.31 AAA
亮洋紅color13#f3ccefrgb(243 204 239)hsl(306 62% 88%)oklch(88.9% 0.063 329.4)10.16 AAA
亮青color14#84e4e3rgb(132 228 227)hsl(179 64% 71%)oklch(86.0% 0.091 194.7)9.81 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.52 AAA

關於 Cobalt Next

Cobalt Next 採用冷色調的深色背景(#162c35),預設前景色為 #d7deea。內文的 WCAG 對比度為 10.74:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.68:1,最低 4.67:1。

色票整體色彩彩度適中,其中紅色為 #ff527b、綠色為 #8cc98f、藍色為 #409dd4、洋紅為 #cba3c7。此配色歸屬 Cobalt 主題系列。

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

與 Cobalt Next 相似的配色

資料來源:iTerm2 Color Schemes (MIT)