跳到主要內容

Cobalt Neon

Cobalt Neon 是一套深色終端機配色(鮮艷、冷色),背景色 #142838,文字色 #8ff586,對比度 11.2:1

取得設定檔
背景色
#142838
前景色
#8ff586
文字對比度
11.20:1AAA
強調色對比度
7.02:1最低 1.76
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 Neon 的設定檔

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

Cobalt Neon

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

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

palette = 0=#142631
palette = 1=#ff2320
palette = 2=#3ba5ff
palette = 3=#e9e75c
palette = 4=#8ff586
palette = 5=#781aa0
palette = 6=#8ff586
palette = 7=#ba46b2
palette = 8=#fff688
palette = 9=#d4312e
palette = 10=#8ff586
palette = 11=#e9f06d
palette = 12=#3c7dd2
palette = 13=#8230a7
palette = 14=#6cbc67
palette = 15=#8ff586
background = #142838
foreground = #8ff586
cursor-color = #c4206f
cursor-text = #8ff586
selection-background = #094fb1
selection-foreground = #8ff586

Cobalt Neon 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#142838rgb(20 40 56)hsl(207 47% 15%)oklch(26.8% 0.040 244.2)—
前景色foreground#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
光標cursor#c4206frgb(196 32 111)hsl(331 72% 45%)oklch(54.5% 0.204 358.3)2.72 低於 AA
光標文字cursorText#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
選取範圍selection#094fb1rgb(9 79 177)hsl(215 90% 36%)oklch(45.2% 0.169 259.2)1.99 低於 AA
選取文字selectionText#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
黑color0#142631rgb(20 38 49)hsl(203 42% 14%)oklch(25.8% 0.032 236.6)1.03 低於 AA
紅color1#ff2320rgb(255 35 32)hsl(1 100% 56%)oklch(63.9% 0.247 28.4)3.97 AA 大字體
綠color2#3ba5ffrgb(59 165 255)hsl(208 100% 62%)oklch(70.4% 0.163 248.4)5.76 AA
黃color3#e9e75crgb(233 231 92)hsl(59 76% 64%)oklch(90.4% 0.158 108.4)11.54 AAA
藍color4#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
洋紅color5#781aa0rgb(120 26 160)hsl(282 72% 36%)oklch(44.4% 0.200 312.6)1.76 低於 AA
青color6#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
白color7#ba46b2rgb(186 70 178)hsl(304 46% 50%)oklch(59.0% 0.195 330.5)3.31 AA 大字體
亮黑color8#fff688rgb(255 246 136)hsl(55 100% 77%)oklch(95.8% 0.132 104.5)13.51 AAA
亮紅color9#d4312ergb(212 49 46)hsl(1 66% 51%)oklch(57.1% 0.200 27.1)3.08 AA 大字體
亮綠color10#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA
亮黃color11#e9f06drgb(233 240 109)hsl(63 81% 68%)oklch(92.4% 0.154 111.8)12.33 AAA
亮藍color12#3c7dd2rgb(60 125 210)hsl(214 62% 53%)oklch(58.9% 0.146 256.2)3.64 AA 大字體
亮洋紅color13#8230a7rgb(130 48 167)hsl(281 55% 42%)oklch(48.2% 0.187 313.1)2.11 低於 AA
亮青color14#6cbc67rgb(108 188 103)hsl(116 39% 57%)oklch(72.3% 0.143 142.7)6.49 AA
亮白color15#8ff586rgb(143 245 134)hsl(115 85% 74%)oklch(88.2% 0.176 142.2)11.20 AAA

關於 Cobalt Neon

Cobalt Neon 採用冷色調的深色背景(#142838),預設前景色為 #8ff586。正文的 WCAG 對比度為 11.20:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.02:1,最低 1.76:1。

色板整體色彩飽和度較高,其中紅色為 #ff2320、綠色為 #3ba5ff、藍色為 #8ff586、洋紅為 #781aa0。該配色歸屬 Cobalt 主題系列。

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

與 Cobalt Neon 相似的配色

資料來源:iTerm2 Color Schemes (MIT)