跳到主要內容

Digital Rain

Digital Rain 是一套深色終端機配色(純黑),背景色 #000000,文字色 #00ff00,對比度 15.3:1

取得設定檔
背景色
#000000
前景色
#00ff00
文字對比度
15.30:1AAA
強調色對比度
6.03:1最低 5.01
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
❯

Digital Rain 的設定檔

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

Digital Rain

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

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

palette = 0=#000000
palette = 1=#c85a46
palette = 2=#64c83c
palette = 3=#a67a50
palette = 4=#5482af
palette = 5=#9472b4
palette = 6=#468c78
palette = 7=#00ff00
palette = 8=#7c8d7c
palette = 9=#c85a46
palette = 10=#64c83c
palette = 11=#a67a50
palette = 12=#5482af
palette = 13=#9472b4
palette = 14=#468c78
palette = 15=#d8e2dc
background = #000000
foreground = #00ff00
cursor-color = #00ff00
cursor-text = #000000
selection-background = #002200
selection-foreground = #00ff00

Digital Rain 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)15.30 AAA
游標cursor#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)15.30 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#002200rgb(0 34 0)hsl(120 100% 7%)oklch(21.8% 0.074 142.5)1.23 低於 AA
選取文字selectionText#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)15.30 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#c85a46rgb(200 90 70)hsl(9 54% 53%)oklch(60.1% 0.145 32.1)5.01 AA
綠color2#64c83crgb(100 200 60)hsl(103 56% 51%)oklch(74.5% 0.199 138.3)9.87 AAA
黃color3#a67a50rgb(166 122 80)hsl(29 35% 48%)oklch(61.4% 0.080 64.1)5.52 AA
藍color4#5482afrgb(84 130 175)hsl(210 36% 51%)oklch(59.2% 0.086 248.9)5.19 AA
洋紅color5#9472b4rgb(148 114 180)hsl(271 31% 58%)oklch(61.1% 0.104 307.2)5.33 AA
青color6#468c78rgb(70 140 120)hsl(163 33% 41%)oklch(58.8% 0.078 172.6)5.28 AA
白color7#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)15.30 AAA
亮黑color8#7c8d7crgb(124 141 124)hsl(120 7% 52%)oklch(62.5% 0.032 145.2)5.96 AA
亮紅color9#c85a46rgb(200 90 70)hsl(9 54% 53%)oklch(60.1% 0.145 32.1)5.01 AA
亮綠color10#64c83crgb(100 200 60)hsl(103 56% 51%)oklch(74.5% 0.199 138.3)9.87 AAA
亮黃color11#a67a50rgb(166 122 80)hsl(29 35% 48%)oklch(61.4% 0.080 64.1)5.52 AA
亮藍color12#5482afrgb(84 130 175)hsl(210 36% 51%)oklch(59.2% 0.086 248.9)5.19 AA
亮洋紅color13#9472b4rgb(148 114 180)hsl(271 31% 58%)oklch(61.1% 0.104 307.2)5.33 AA
亮青color14#468c78rgb(70 140 120)hsl(163 33% 41%)oklch(58.8% 0.078 172.6)5.28 AA
亮白color15#d8e2dcrgb(216 226 220)hsl(144 15% 87%)oklch(90.3% 0.013 159.9)15.83 AAA

關於 Digital Rain

Digital Rain 採用中性色調的深色背景(#000000),預設前景色為 #00ff00。內文的 WCAG 對比度為 15.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.03:1,最低 5.01:1。

色票整體色彩彩度適中,其中紅色為 #c85a46、綠色為 #64c83c、藍色為 #5482af、洋紅為 #9472b4。

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

與 Digital Rain 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)