跳到主要內容

Purpledream

Purpledream 是一套深色終端機配色(鮮豔),背景色 #100510,文字色 #ddd0dd,對比度 13.4:1

取得設定檔
背景色
#100510
前景色
#ddd0dd
文字對比度
13.45:1AAA
強調色對比度
5.66:1最低 3.57
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
❯

Purpledream 的設定檔

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

Purpledream

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

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

palette = 0=#100510
palette = 1=#ff1d0d
palette = 2=#14cc64
palette = 3=#f000a0
palette = 4=#00a0f0
palette = 5=#b000d0
palette = 6=#0075b0
palette = 7=#ddd0dd
palette = 8=#605060
palette = 9=#ff1d0d
palette = 10=#14cc64
palette = 11=#f000a0
palette = 12=#00a0f0
palette = 13=#b000d0
palette = 14=#0075b0
palette = 15=#fff0ff
background = #100510
foreground = #ddd0dd
cursor-color = #ddd0dd
cursor-text = #100510
selection-background = #3c2f3c
selection-foreground = #ddd0dd

Purpledream 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#100510rgb(16 5 16)hsl(300 52% 4%)oklch(14.1% 0.032 327.1)—
前景色foreground#ddd0ddrgb(221 208 221)hsl(300 16% 84%)oklch(87.2% 0.023 325.8)13.45 AAA
游標cursor#ddd0ddrgb(221 208 221)hsl(300 16% 84%)oklch(87.2% 0.023 325.8)13.45 AAA
游標文字cursorText#100510rgb(16 5 16)hsl(300 52% 4%)oklch(14.1% 0.032 327.1)1.00 低於 AA
選取範圍selection#3c2f3crgb(60 47 60)hsl(300 12% 21%)oklch(32.5% 0.029 326.2)1.58 低於 AA
選取文字selectionText#ddd0ddrgb(221 208 221)hsl(300 16% 84%)oklch(87.2% 0.023 325.8)13.45 AAA
黑color0#100510rgb(16 5 16)hsl(300 52% 4%)oklch(14.1% 0.032 327.1)1.00 低於 AA
紅color1#ff1d0drgb(255 29 13)hsl(4 100% 53%)oklch(63.5% 0.251 29.7)5.17 AA
綠color2#14cc64rgb(20 204 100)hsl(146 82% 44%)oklch(74.1% 0.197 150.6)9.37 AAA
黃color3#f000a0rgb(240 0 160)hsl(320 100% 47%)oklch(63.0% 0.263 349.6)4.96 AA
藍color4#00a0f0rgb(0 160 240)hsl(200 100% 47%)oklch(67.6% 0.160 241.9)6.93 AA
洋紅color5#b000d0rgb(176 0 208)hsl(291 100% 41%)oklch(55.3% 0.266 319.5)3.57 AA 大字級
青color6#0075b0rgb(0 117 176)hsl(200 100% 35%)oklch(53.8% 0.126 241.4)3.97 AA 大字級
白color7#ddd0ddrgb(221 208 221)hsl(300 16% 84%)oklch(87.2% 0.023 325.8)13.45 AAA
亮黑color8#605060rgb(96 80 96)hsl(300 9% 35%)oklch(45.3% 0.033 326.1)2.68 低於 AA
亮紅color9#ff1d0drgb(255 29 13)hsl(4 100% 53%)oklch(63.5% 0.251 29.7)5.17 AA
亮綠color10#14cc64rgb(20 204 100)hsl(146 82% 44%)oklch(74.1% 0.197 150.6)9.37 AAA
亮黃color11#f000a0rgb(240 0 160)hsl(320 100% 47%)oklch(63.0% 0.263 349.6)4.96 AA
亮藍color12#00a0f0rgb(0 160 240)hsl(200 100% 47%)oklch(67.6% 0.160 241.9)6.93 AA
亮洋紅color13#b000d0rgb(176 0 208)hsl(291 100% 41%)oklch(55.3% 0.266 319.5)3.57 AA 大字級
亮青color14#0075b0rgb(0 117 176)hsl(200 100% 35%)oklch(53.8% 0.126 241.4)3.97 AA 大字級
亮白color15#fff0ffrgb(255 240 255)hsl(300 100% 97%)oklch(97.1% 0.025 325.8)18.23 AAA

關於 Purpledream

Purpledream 採用中性色調的深色背景(#100510),預設前景色為 #ddd0dd。內文的 WCAG 對比度為 13.45:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.66:1,最低 3.57:1。

色票整體色彩彩度較高,其中紅色為 #ff1d0d、綠色為 #14cc64、藍色為 #00a0f0、洋紅為 #b000d0。

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

與 Purpledream 相似的配色

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