跳到主要內容

Karma Dark

Karma Dark 是一套深色終端機配色(高對比、粉彩),背景色 #0a0e14,文字色 #f7f1ff,對比度 17.5:1

取得設定檔
背景色
#0a0e14
前景色
#f7f1ff
文字對比度
17.48:1AAA
強調色對比度
11.19:1最低 6.66
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
❯

Karma Dark 的設定檔

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

Karma Dark

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

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

palette = 0=#0a0e14
palette = 1=#fc618d
palette = 2=#7bd88f
palette = 3=#fce566
palette = 4=#5ad4e6
palette = 5=#af98e6
palette = 6=#5ad4e6
palette = 7=#bab6c0
palette = 8=#69676c
palette = 9=#ff7ba0
palette = 10=#9ce3ab
palette = 11=#fce566
palette = 12=#7fe0ee
palette = 13=#c3b0f0
palette = 14=#7fe0ee
palette = 15=#f7f1ff
background = #0a0e14
foreground = #f7f1ff
cursor-color = #fce566
cursor-text = #0a0e14
selection-background = #3a384a
selection-foreground = #f7f1ff

Karma Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)—
前景色foreground#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)17.48 AAA
游標cursor#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)15.23 AAA
游標文字cursorText#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)1.00 低於 AA
選取範圍selection#3a384argb(58 56 74)hsl(247 14% 25%)oklch(35.0% 0.031 289.8)1.70 低於 AA
選取文字selectionText#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)17.48 AAA
黑color0#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)1.00 低於 AA
紅color1#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)6.66 AA
綠color2#7bd88frgb(123 216 143)hsl(133 54% 66%)oklch(80.6% 0.136 149.5)11.11 AAA
黃color3#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)15.23 AAA
藍color4#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)11.05 AAA
洋紅color5#af98e6rgb(175 152 230)hsl(258 61% 75%)oklch(72.9% 0.113 297.1)7.79 AAA
青color6#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)11.05 AAA
白color7#bab6c0rgb(186 182 192)hsl(264 7% 73%)oklch(78.3% 0.015 304.1)9.71 AAA
亮黑color8#69676crgb(105 103 108)hsl(264 2% 41%)oklch(51.7% 0.008 304.1)3.46 AA 大字級
亮紅color9#ff7ba0rgb(255 123 160)hsl(343 100% 74%)oklch(74.5% 0.164 4.2)7.91 AAA
亮綠color10#9ce3abrgb(156 227 171)hsl(133 56% 75%)oklch(85.4% 0.105 150.3)12.88 AAA
亮黃color11#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)15.23 AAA
亮藍color12#7fe0eergb(127 224 238)hsl(188 77% 72%)oklch(85.2% 0.094 207.6)12.71 AAA
亮洋紅color13#c3b0f0rgb(195 176 240)hsl(258 68% 82%)oklch(79.6% 0.091 297.9)9.94 AAA
亮青color14#7fe0eergb(127 224 238)hsl(188 77% 72%)oklch(85.2% 0.094 207.6)12.71 AAA
亮白color15#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)17.48 AAA

關於 Karma Dark

Karma Dark 採用冷色調的深色背景(#0a0e14),預設前景色為 #f7f1ff。內文的 WCAG 對比度為 17.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.19:1,最低 6.66:1。

色票整體色彩彩度適中,其中紅色為 #fc618d、綠色為 #7bd88f、藍色為 #5ad4e6、洋紅為 #af98e6。此配色歸屬 Karma 主題系列。

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

與 Karma Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)