跳到主要內容

Kolorit

Kolorit 是一套深色終端機配色,背景色 #1d1a1e,文字色 #efecec,對比度 14.7:1

取得設定檔
背景色
#1d1a1e
前景色
#efecec
文字對比度
14.67:1AAA
強調色對比度
8.89:1最低 5.80
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
❯

Kolorit 的設定檔

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

Kolorit

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

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

palette = 0=#1d1a1e
palette = 1=#ff5b82
palette = 2=#47d7a1
palette = 3=#e8e562
palette = 4=#5db4ee
palette = 5=#da6cda
palette = 6=#57e9eb
palette = 7=#ededed
palette = 8=#1d1a1e
palette = 9=#ff5b82
palette = 10=#47d7a1
palette = 11=#e8e562
palette = 12=#5db4ee
palette = 13=#da6cda
palette = 14=#57e9eb
palette = 15=#ededed
background = #1d1a1e
foreground = #efecec
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #e1925c
selection-foreground = #1d1a1e

Kolorit 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1d1a1ergb(29 26 30)hsl(285 7% 11%)oklch(22.3% 0.009 317.7)—
前景色foreground#efececrgb(239 236 236)hsl(0 9% 93%)oklch(94.5% 0.003 17.2)14.67 AAA
光標cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)10.19 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.23 AAA
選取範圍selection#e1925crgb(225 146 92)hsl(24 69% 62%)oklch(72.9% 0.119 54.1)6.95 AA
選取文字selectionText#1d1a1ergb(29 26 30)hsl(285 7% 11%)oklch(22.3% 0.009 317.7)1.00 低於 AA
黑color0#1d1a1ergb(29 26 30)hsl(285 7% 11%)oklch(22.3% 0.009 317.7)1.00 低於 AA
紅color1#ff5b82rgb(255 91 130)hsl(346 100% 68%)oklch(69.8% 0.200 9.6)5.80 AA
綠color2#47d7a1rgb(71 215 161)hsl(158 64% 56%)oklch(78.9% 0.145 164.0)9.44 AAA
黃color3#e8e562rgb(232 229 98)hsl(59 74% 65%)oklch(90.0% 0.152 107.9)12.98 AAA
藍color4#5db4eergb(93 180 238)hsl(204 81% 65%)oklch(73.9% 0.119 240.2)7.57 AAA
洋紅color5#da6cdargb(218 108 218)hsl(300 60% 64%)oklch(69.9% 0.191 327.4)5.86 AA
青color6#57e9ebrgb(87 233 235)hsl(181 79% 63%)oklch(85.8% 0.123 196.4)11.70 AAA
白color7#edededrgb(237 237 237)hsl(0 0% 93%)oklch(94.6% 0.000 0)14.72 AAA
亮黑color8#1d1a1ergb(29 26 30)hsl(285 7% 11%)oklch(22.3% 0.009 317.7)1.00 低於 AA
亮紅color9#ff5b82rgb(255 91 130)hsl(346 100% 68%)oklch(69.8% 0.200 9.6)5.80 AA
亮綠color10#47d7a1rgb(71 215 161)hsl(158 64% 56%)oklch(78.9% 0.145 164.0)9.44 AAA
亮黃color11#e8e562rgb(232 229 98)hsl(59 74% 65%)oklch(90.0% 0.152 107.9)12.98 AAA
亮藍color12#5db4eergb(93 180 238)hsl(204 81% 65%)oklch(73.9% 0.119 240.2)7.57 AAA
亮洋紅color13#da6cdargb(218 108 218)hsl(300 60% 64%)oklch(69.9% 0.191 327.4)5.86 AA
亮青color14#57e9ebrgb(87 233 235)hsl(181 79% 63%)oklch(85.8% 0.123 196.4)11.70 AAA
亮白color15#edededrgb(237 237 237)hsl(0 0% 93%)oklch(94.6% 0.000 0)14.72 AAA

關於 Kolorit

Kolorit 採用中性色調的深色背景(#1d1a1e),預設前景色為 #efecec。正文的 WCAG 對比度為 14.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.89:1,最低 5.80:1。

色板整體色彩飽和度適中,其中紅色為 #ff5b82、綠色為 #47d7a1、藍色為 #5db4ee、洋紅為 #da6cda。

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

與 Kolorit 相似的配色

資料來源:iTerm2 Color Schemes (MIT)