跳到主要內容

Colors

Colors 是一套深色終端機配色(鮮豔),背景色 #111111,文字色 #bbbbbb,對比度 9.8:1

取得設定檔
背景色
#111111
前景色
#bbbbbb
文字對比度
9.84:1AAA
強調色對比度
7.96:1最低 3.39
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
❯

Colors 的設定檔

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

Colors

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

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

palette = 0=#111111
palette = 1=#ff4136
palette = 2=#2ecc40
palette = 3=#ffdc00
palette = 4=#0074d9
palette = 5=#b10dc9
palette = 6=#7fdbff
palette = 7=#bbbbbb
palette = 8=#777777
palette = 9=#ff4136
palette = 10=#2ecc40
palette = 11=#ffdc00
palette = 12=#0074d9
palette = 13=#b10dc9
palette = 14=#7fdbff
palette = 15=#ffffff
background = #111111
foreground = #bbbbbb
cursor-color = #bbbbbb
cursor-text = #111111
selection-background = #363636
selection-foreground = #bbbbbb

Colors 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)—
前景色foreground#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.84 AAA
游標cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.84 AAA
游標文字cursorText#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)1.00 低於 AA
選取範圍selection#363636rgb(54 54 54)hsl(0 0% 21%)oklch(33.3% 0.000 0)1.56 低於 AA
選取文字selectionText#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.84 AAA
黑color0#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)1.00 低於 AA
紅color1#ff4136rgb(255 65 54)hsl(3 100% 61%)oklch(66.0% 0.227 28.4)5.45 AA
綠color2#2ecc40rgb(46 204 64)hsl(127 63% 49%)oklch(74.0% 0.220 144.3)8.84 AAA
黃color3#ffdc00rgb(255 220 0)hsl(52 100% 50%)oklch(89.7% 0.185 97.4)13.93 AAA
藍color4#0074d9rgb(0 116 217)hsl(208 100% 43%)oklch(56.2% 0.177 253.7)4.05 AA 大字級
洋紅color5#b10dc9rgb(177 13 201)hsl(292 88% 42%)oklch(55.2% 0.258 321.5)3.39 AA 大字級
青color6#7fdbffrgb(127 219 255)hsl(197 100% 75%)oklch(84.7% 0.101 225.4)12.12 AAA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.84 AAA
亮黑color8#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.22 AA 大字級
亮紅color9#ff4136rgb(255 65 54)hsl(3 100% 61%)oklch(66.0% 0.227 28.4)5.45 AA
亮綠color10#2ecc40rgb(46 204 64)hsl(127 63% 49%)oklch(74.0% 0.220 144.3)8.84 AAA
亮黃color11#ffdc00rgb(255 220 0)hsl(52 100% 50%)oklch(89.7% 0.185 97.4)13.93 AAA
亮藍color12#0074d9rgb(0 116 217)hsl(208 100% 43%)oklch(56.2% 0.177 253.7)4.05 AA 大字級
亮洋紅color13#b10dc9rgb(177 13 201)hsl(292 88% 42%)oklch(55.2% 0.258 321.5)3.39 AA 大字級
亮青color14#7fdbffrgb(127 219 255)hsl(197 100% 75%)oklch(84.7% 0.101 225.4)12.12 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA

關於 Colors

Colors 採用中性色調的深色背景(#111111),預設前景色為 #bbbbbb。內文的 WCAG 對比度為 9.84:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.96:1,最低 3.39:1。

色票整體色彩彩度較高,其中紅色為 #ff4136、綠色為 #2ecc40、藍色為 #0074d9、洋紅為 #b10dc9。

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

與 Colors 相似的配色

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