跳到正文

One Half Light

One Half Light 是一套浅色终端配色(柔和),背景色 #fafafa,文字色 #383a42,对比度 10.9:1

获取配置
背景色
#fafafa
前景色
#383a42
文字对比度
10.86:1AAA
强调色对比度
3.07:1最低 1.65
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
❯

One Half Light 的配置文件

16 种格式,都从同一份色板生成

One Half Light

存到 ~/.config/ghostty/themes/One Half Light,再在 config 或 config.ghostty 里写 theme = One Half Light

更多 Ghostty 配色
原始文件
# Theme: One Half Light (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/one-half-light?format=ghostty

palette = 0=#383a42
palette = 1=#e45649
palette = 2=#50a14f
palette = 3=#c18401
palette = 4=#0184bc
palette = 5=#a626a4
palette = 6=#0997b3
palette = 7=#fafafa
palette = 8=#4f525e
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#e5c07b
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#ffffff
background = #fafafa
foreground = #383a42
cursor-color = #bfceff
cursor-text = #383a42
selection-background = #bfceff
selection-foreground = #383a42

One Half Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)—
前景色foreground#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
光标cursor#bfceffrgb(191 206 255)hsl(226 100% 87%)oklch(85.7% 0.070 271.6)1.49 低于 AA
光标文字cursorText#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
选区selection#bfceffrgb(191 206 255)hsl(226 100% 87%)oklch(85.7% 0.070 271.6)1.49 低于 AA
选区文字selectionText#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
黑color0#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
红color1#e45649rgb(228 86 73)hsl(5 74% 59%)oklch(63.9% 0.179 28.3)3.51 AA 大字号
绿color2#50a14frgb(80 161 79)hsl(119 34% 47%)oklch(63.8% 0.142 143.5)3.07 AA 大字号
黄color3#c18401rgb(193 132 1)hsl(41 99% 38%)oklch(65.8% 0.138 76.2)3.06 AA 大字号
蓝color4#0184bcrgb(1 132 188)hsl(198 99% 37%)oklch(58.1% 0.127 237.2)4.00 AA 大字号
品红color5#a626a4rgb(166 38 164)hsl(301 63% 40%)oklch(52.4% 0.211 328.8)5.86 AA
青color6#0997b3rgb(9 151 179)hsl(190 90% 37%)oklch(62.4% 0.110 217.4)3.30 AA 大字号
白color7#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)1.00 低于 AA
亮黑color8#4f525ergb(79 82 94)hsl(228 9% 34%)oklch(44.0% 0.020 274.4)7.45 AAA
亮红color9#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)3.06 AA 大字号
亮绿color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)1.93 低于 AA
亮黄color11#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)1.65 低于 AA
亮蓝color12#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)2.26 低于 AA
亮品红color13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)2.82 低于 AA
亮青color14#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)2.27 低于 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.04 低于 AA

关于 One Half Light

One Half Light 采用中性色调的浅色背景(#fafafa),默认前景色为 #383a42。正文的 WCAG 对比度为 10.86:1(AAA),12 种 ANSI 彩色槽位平均对比度 3.07:1,最低 1.65:1。

色板整体色彩饱和度适中,其中红色为 #e45649、绿色为 #50a14f、蓝色为 #0184bc、品红为 #a626a4。该配色归属 One Dark & One Light 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 One Half Light 相似的配色

数据来源:iTerm2 Color Schemes (MIT)