跳到主要內容

Clear Light

Clear Light 是一套淺色終端機配色(柔和),背景色 #ffffff,文字色 #3a4851,對比度 9.4:1

取得設定檔
背景色
#ffffff
前景色
#3a4851
文字對比度
9.44:1AAA
強調色對比度
2.80:1最低 1.53
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
❯

Clear Light 的設定檔

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

Clear Light

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

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

palette = 0=#2d3840
palette = 1=#b45648
palette = 2=#6caa71
palette = 3=#c4ac62
palette = 4=#5685a8
palette = 5=#ad64be
palette = 6=#69c6c9
palette = 7=#c1c8cc
palette = 8=#506573
palette = 9=#df6c5a
palette = 10=#79be7e
palette = 11=#e5c872
palette = 12=#49a2e1
palette = 13=#d389e5
palette = 14=#77e1e5
palette = 15=#d8e1e7
background = #ffffff
foreground = #3a4851
cursor-color = #919191
cursor-text = #ffffff
selection-background = #e5ecf1
selection-foreground = #ffffff

Clear Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#3a4851rgb(58 72 81)hsl(203 17% 27%)oklch(39.3% 0.024 236.4)9.44 AAA
光標cursor#919191rgb(145 145 145)hsl(0 0% 57%)oklch(65.7% 0.000 0)3.15 AA 大字體
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
選取範圍selection#e5ecf1rgb(229 236 241)hsl(205 30% 92%)oklch(93.9% 0.010 238.5)1.19 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
黑color0#2d3840rgb(45 56 64)hsl(205 17% 21%)oklch(33.4% 0.020 239.8)11.99 AAA
紅color1#b45648rgb(180 86 72)hsl(8 43% 49%)oklch(56.6% 0.125 30.1)4.81 AA
綠color2#6caa71rgb(108 170 113)hsl(125 27% 55%)oklch(68.1% 0.105 146.2)2.75 低於 AA
黃color3#c4ac62rgb(196 172 98)hsl(45 45% 58%)oklch(74.9% 0.098 91.9)2.23 低於 AA
藍color4#5685a8rgb(86 133 168)hsl(206 32% 50%)oklch(59.7% 0.074 241.8)3.95 AA 大字體
洋紅color5#ad64bergb(173 100 190)hsl(289 41% 57%)oklch(61.9% 0.152 319.8)3.93 AA 大字體
青color6#69c6c9rgb(105 198 201)hsl(182 47% 60%)oklch(77.1% 0.089 198.2)2.00 低於 AA
白color7#c1c8ccrgb(193 200 204)hsl(202 10% 78%)oklch(82.9% 0.010 232.4)1.69 低於 AA
亮黑color8#506573rgb(80 101 115)hsl(204 18% 38%)oklch(49.5% 0.034 237.6)6.09 AA
亮紅color9#df6c5argb(223 108 90)hsl(8 68% 61%)oklch(66.4% 0.147 30.6)3.27 AA 大字體
亮綠color10#79be7ergb(121 190 126)hsl(124 35% 61%)oklch(73.9% 0.115 146.0)2.22 低於 AA
亮黃color11#e5c872rgb(229 200 114)hsl(45 69% 67%)oklch(83.9% 0.111 91.3)1.64 低於 AA
亮藍color12#49a2e1rgb(73 162 225)hsl(205 72% 58%)oklch(68.5% 0.126 242.6)2.79 低於 AA
亮洋紅color13#d389e5rgb(211 137 229)hsl(288 64% 72%)oklch(73.8% 0.150 319.6)2.48 低於 AA
亮青color14#77e1e5rgb(119 225 229)hsl(182 68% 68%)oklch(84.8% 0.098 198.7)1.53 低於 AA
亮白color15#d8e1e7rgb(216 225 231)hsl(204 24% 88%)oklch(90.5% 0.013 236.6)1.33 低於 AA

關於 Clear Light

Clear Light 採用中性色調的淺色背景(#ffffff),預設前景色為 #3a4851。正文的 WCAG 對比度為 9.44:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.80:1,最低 1.53:1。

色板整體色彩飽和度適中,其中紅色為 #b45648、綠色為 #6caa71、藍色為 #5685a8、洋紅為 #ad64be。

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

與 Clear Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)