跳到正文

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/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)