跳到主要內容

Neon Purple

Neon Purple 是一套深色終端機配色(鮮艷、冷色),背景色 #291b47,文字色 #e5e5e5,對比度 12.4:1

取得設定檔
背景色
#291b47
前景色
#e5e5e5
文字對比度
12.42:1AAA
強調色對比度
8.13:1最低 2.92
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
❯

Neon Purple 的設定檔

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

Neon Purple

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

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

palette = 0=#000000
palette = 1=#cd0d76
palette = 2=#03eba5
palette = 3=#fffa6a
palette = 4=#00bfff
palette = 5=#ff00e0
palette = 6=#9aa5ed
palette = 7=#ffffff
palette = 8=#a8fcff
palette = 9=#ff0da5
palette = 10=#00ffb6
palette = 11=#fff787
palette = 12=#1bccfd
palette = 13=#ff00f8
palette = 14=#a6b6ff
palette = 15=#ffffff
background = #291b47
foreground = #e5e5e5
cursor-color = #21f6bc
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000

Neon Purple 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#291b47rgb(41 27 71)hsl(259 45% 19%)oklch(26.5% 0.079 295.1)—
前景色foreground#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)12.42 AAA
光標cursor#21f6bcrgb(33 246 188)hsl(164 92% 55%)oklch(86.6% 0.172 167.5)11.16 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.65 AAA
選取範圍selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)11.30 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.34 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.34 低於 AA
紅color1#cd0d76rgb(205 13 118)hsl(327 88% 43%)oklch(55.6% 0.222 356.6)2.92 低於 AA
綠color2#03eba5rgb(3 235 165)hsl(162 97% 47%)oklch(83.2% 0.180 162.8)10.01 AAA
黃color3#fffa6argb(255 250 106)hsl(58 100% 71%)oklch(96.2% 0.163 107.2)14.26 AAA
藍color4#00bfffrgb(0 191 255)hsl(195 100% 50%)oklch(75.5% 0.153 231.6)7.37 AAA
洋紅color5#ff00e0rgb(255 0 224)hsl(307 100% 50%)oklch(68.4% 0.304 335.4)4.72 AA
青color6#9aa5edrgb(154 165 237)hsl(232 70% 77%)oklch(74.1% 0.105 276.9)6.69 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.65 AAA
亮黑color8#a8fcffrgb(168 252 255)hsl(182 100% 83%)oklch(93.9% 0.081 198.7)13.44 AAA
亮紅color9#ff0da5rgb(255 13 165)hsl(322 100% 53%)oklch(66.0% 0.270 351.3)4.36 AA 大字體
亮綠color10#00ffb6rgb(0 255 182)hsl(163 100% 50%)oklch(88.5% 0.190 163.6)11.91 AAA
亮黃color11#fff787rgb(255 247 135)hsl(56 100% 76%)oklch(96.0% 0.134 105.0)14.09 AAA
亮藍color12#1bccfdrgb(27 204 253)hsl(193 98% 55%)oklch(78.6% 0.144 223.9)8.27 AAA
亮洋紅color13#ff00f8rgb(255 0 248)hsl(302 100% 50%)oklch(69.8% 0.318 329.9)4.92 AA
亮青color14#a6b6ffrgb(166 182 255)hsl(229 100% 83%)oklch(79.1% 0.106 274.3)8.02 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.65 AAA

關於 Neon Purple

Neon Purple 採用冷色調的深色背景(#291b47),預設前景色為 #e5e5e5。正文的 WCAG 對比度為 12.42:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.13:1,最低 2.92:1。

色板整體色彩飽和度較高,其中紅色為 #cd0d76、綠色為 #03eba5、藍色為 #00bfff、洋紅為 #ff00e0。

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

與 Neon Purple 相似的配色

資料來源:iTerm2 Color Schemes (MIT)