跳到主要內容

Qualia

Qualia 是一套深色終端機配色,背景色 #101010,文字色 #c0c0c0,對比度 10.5:1

取得設定檔
背景色
#101010
前景色
#c0c0c0
文字對比度
10.46:1AAA
強調色對比度
9.85:1最低 9.64
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
❯

Qualia 的設定檔

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

Qualia

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

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

palette = 0=#101010
palette = 1=#efa6a2
palette = 2=#80c990
palette = 3=#e6a3dc
palette = 4=#50cacd
palette = 5=#e0af85
palette = 6=#c8c874
palette = 7=#c0c0c0
palette = 8=#454545
palette = 9=#efa6a2
palette = 10=#80c990
palette = 11=#e6a3dc
palette = 12=#50cacd
palette = 13=#e0af85
palette = 14=#c8c874
palette = 15=#454545
background = #101010
foreground = #c0c0c0
cursor-color = #c0c0c0
cursor-text = #101010
selection-background = #363636
selection-foreground = #c0c0c0

Qualia 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)—
前景色foreground#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)10.46 AAA
光標cursor#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)10.46 AAA
光標文字cursorText#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低於 AA
選取範圍selection#363636rgb(54 54 54)hsl(0 0% 21%)oklch(33.3% 0.000 0)1.57 低於 AA
選取文字selectionText#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)10.46 AAA
黑color0#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低於 AA
紅color1#efa6a2rgb(239 166 162)hsl(3 71% 79%)oklch(79.4% 0.087 22.7)9.65 AAA
綠color2#80c990rgb(128 201 144)hsl(133 40% 65%)oklch(77.3% 0.109 150.2)9.67 AAA
黃color3#e6a3dcrgb(230 163 220)hsl(309 57% 77%)oklch(79.7% 0.108 331.9)9.64 AAA
藍color4#50cacdrgb(80 202 205)hsl(181 56% 56%)oklch(77.3% 0.107 197.4)9.67 AAA
洋紅color5#e0af85rgb(224 175 133)hsl(28 59% 70%)oklch(78.9% 0.080 61.9)9.64 AAA
青color6#c8c874rgb(200 200 116)hsl(60 43% 62%)oklch(81.4% 0.107 108.6)10.85 AAA
白color7#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)10.46 AAA
亮黑color8#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)1.98 低於 AA
亮紅color9#efa6a2rgb(239 166 162)hsl(3 71% 79%)oklch(79.4% 0.087 22.7)9.65 AAA
亮綠color10#80c990rgb(128 201 144)hsl(133 40% 65%)oklch(77.3% 0.109 150.2)9.67 AAA
亮黃color11#e6a3dcrgb(230 163 220)hsl(309 57% 77%)oklch(79.7% 0.108 331.9)9.64 AAA
亮藍color12#50cacdrgb(80 202 205)hsl(181 56% 56%)oklch(77.3% 0.107 197.4)9.67 AAA
亮洋紅color13#e0af85rgb(224 175 133)hsl(28 59% 70%)oklch(78.9% 0.080 61.9)9.64 AAA
亮青color14#c8c874rgb(200 200 116)hsl(60 43% 62%)oklch(81.4% 0.107 108.6)10.85 AAA
亮白color15#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)1.98 低於 AA

關於 Qualia

Qualia 採用中性色調的深色背景(#101010),預設前景色為 #c0c0c0。正文的 WCAG 對比度為 10.46:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.85:1,最低 9.64:1。

色板整體色彩飽和度適中,其中紅色為 #efa6a2、綠色為 #80c990、藍色為 #50cacd、洋紅為 #e0af85。

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

與 Qualia 相似的配色

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