跳到主要內容

Karma Light

Karma Light 是一套淺色終端機配色(柔和),背景色 #ffffff,文字色 #0a0e14,對比度 19.3:1

取得設定檔
背景色
#ffffff
前景色
#0a0e14
文字對比度
19.34:1AAA
強調色對比度
3.47:1最低 1.90
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 Light 的設定檔

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

Karma Light

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

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

palette = 0=#0a0e14
palette = 1=#fc618d
palette = 2=#2d972f
palette = 3=#eeae11
palette = 4=#5688c7
palette = 5=#6f42c1
palette = 6=#5688c7
palette = 7=#525053
palette = 8=#999999
palette = 9=#fc618d
palette = 10=#2d972f
palette = 11=#ffaa33
palette = 12=#5688c7
palette = 13=#a86efd
palette = 14=#5688c7
palette = 15=#0a0e14
background = #ffffff
foreground = #0a0e14
cursor-color = #a86efd
cursor-text = #ffffff
selection-background = #e5e3ea
selection-foreground = #0a0e14

Karma Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)19.34 AAA
游標cursor#a86efdrgb(168 110 253)hsl(264 97% 71%)oklch(66.5% 0.206 299.5)3.33 AA 大字級
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
選取範圍selection#e5e3eargb(229 227 234)hsl(257 14% 90%)oklch(91.9% 0.010 299.2)1.27 低於 AA
選取文字selectionText#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)19.34 AAA
黑color0#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)19.34 AAA
紅color1#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)2.90 低於 AA
綠color2#2d972frgb(45 151 47)hsl(121 54% 38%)oklch(59.5% 0.171 143.3)3.76 AA 大字級
黃color3#eeae11rgb(238 174 17)hsl(43 87% 50%)oklch(79.0% 0.160 81.4)1.96 低於 AA
藍color4#5688c7rgb(86 136 199)hsl(213 50% 56%)oklch(61.9% 0.110 254.9)3.66 AA 大字級
洋紅color5#6f42c1rgb(111 66 193)hsl(261 51% 51%)oklch(50.2% 0.188 295.0)6.51 AA
青color6#5688c7rgb(86 136 199)hsl(213 50% 56%)oklch(61.9% 0.110 254.9)3.66 AA 大字級
白color7#525053rgb(82 80 83)hsl(280 2% 32%)oklch(43.4% 0.005 314.8)7.98 AAA
亮黑color8#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)2.85 低於 AA
亮紅color9#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)2.90 低於 AA
亮綠color10#2d972frgb(45 151 47)hsl(121 54% 38%)oklch(59.5% 0.171 143.3)3.76 AA 大字級
亮黃color11#ffaa33rgb(255 170 51)hsl(35 100% 60%)oklch(80.3% 0.159 69.8)1.90 低於 AA
亮藍color12#5688c7rgb(86 136 199)hsl(213 50% 56%)oklch(61.9% 0.110 254.9)3.66 AA 大字級
亮洋紅color13#a86efdrgb(168 110 253)hsl(264 97% 71%)oklch(66.5% 0.206 299.5)3.33 AA 大字級
亮青color14#5688c7rgb(86 136 199)hsl(213 50% 56%)oklch(61.9% 0.110 254.9)3.66 AA 大字級
亮白color15#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)19.34 AAA

關於 Karma Light

Karma Light 採用中性色調的淺色背景(#ffffff),預設前景色為 #0a0e14。內文的 WCAG 對比度為 19.34:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.47:1,最低 1.90:1。

色票整體色彩彩度適中,其中紅色為 #fc618d、綠色為 #2d972f、藍色為 #5688c7、洋紅為 #6f42c1。此配色歸屬 Karma 主題系列。

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

與 Karma Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)