跳到主要內容

Pencil Light

Pencil Light 是一套淺色終端機配色(柔和),背景色 #f1f1f1,文字色 #424242,對比度 8.9:1

取得設定檔
背景色
#f1f1f1
前景色
#424242
文字對比度
8.90:1AAA
強調色對比度
3.28:1最低 1.17
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
❯

Pencil Light 的設定檔

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

Pencil Light

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

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

palette = 0=#212121
palette = 1=#c30771
palette = 2=#10a778
palette = 3=#a89c14
palette = 4=#008ec4
palette = 5=#523c79
palette = 6=#20a5ba
palette = 7=#d9d9d9
palette = 8=#424242
palette = 9=#fb007a
palette = 10=#5fd7af
palette = 11=#f3e430
palette = 12=#20bbfc
palette = 13=#6855de
palette = 14=#4fb8cc
palette = 15=#f1f1f1
background = #f1f1f1
foreground = #424242
cursor-color = #20bbfc
cursor-text = #424242
selection-background = #b6d6fd
selection-foreground = #424242

Pencil Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)—
前景色foreground#424242rgb(66 66 66)hsl(0 0% 26%)oklch(37.9% 0.000 0)8.90 AAA
游標cursor#20bbfcrgb(32 187 252)hsl(198 97% 56%)oklch(74.7% 0.150 233.7)1.94 低於 AA
游標文字cursorText#424242rgb(66 66 66)hsl(0 0% 26%)oklch(37.9% 0.000 0)8.90 AAA
選取範圍selection#b6d6fdrgb(182 214 253)hsl(213 95% 85%)oklch(86.6% 0.064 253.6)1.33 低於 AA
選取文字selectionText#424242rgb(66 66 66)hsl(0 0% 26%)oklch(37.9% 0.000 0)8.90 AAA
黑color0#212121rgb(33 33 33)hsl(0 0% 13%)oklch(24.8% 0.000 0)14.26 AAA
紅color1#c30771rgb(195 7 113)hsl(326 93% 40%)oklch(53.5% 0.216 356.0)5.18 AA
綠color2#10a778rgb(16 167 120)hsl(161 83% 36%)oklch(64.6% 0.134 164.2)2.73 低於 AA
黃color3#a89c14rgb(168 156 20)hsl(55 79% 37%)oklch(68.2% 0.139 103.8)2.50 低於 AA
藍color4#008ec4rgb(0 142 196)hsl(197 100% 38%)oklch(61.0% 0.128 234.4)3.28 AA 大字級
洋紅color5#523c79rgb(82 60 121)hsl(262 34% 35%)oklch(41.0% 0.101 298.5)8.15 AAA
青color6#20a5bargb(32 165 186)hsl(188 71% 43%)oklch(66.5% 0.109 211.5)2.60 低於 AA
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)1.25 低於 AA
亮黑color8#424242rgb(66 66 66)hsl(0 0% 26%)oklch(37.9% 0.000 0)8.90 AAA
亮紅color9#fb007argb(251 0 122)hsl(331 100% 49%)oklch(63.7% 0.256 3.7)3.45 AA 大字級
亮綠color10#5fd7afrgb(95 215 175)hsl(160 60% 61%)oklch(80.0% 0.123 168.4)1.57 低於 AA
亮黃color11#f3e430rgb(243 228 48)hsl(55 89% 57%)oklch(90.3% 0.180 104.3)1.17 低於 AA
亮藍color12#20bbfcrgb(32 187 252)hsl(198 97% 56%)oklch(74.7% 0.150 233.7)1.94 低於 AA
亮洋紅color13#6855dergb(104 85 222)hsl(248 67% 60%)oklch(54.6% 0.200 283.9)4.72 AA
亮青color14#4fb8ccrgb(79 184 204)hsl(190 55% 55%)oklch(72.9% 0.100 212.2)2.05 低於 AA
亮白color15#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)1.00 低於 AA

關於 Pencil Light

Pencil Light 採用中性色調的淺色背景(#f1f1f1),預設前景色為 #424242。內文的 WCAG 對比度為 8.90:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.28:1,最低 1.17:1。

色票整體色彩彩度適中,其中紅色為 #c30771、綠色為 #10a778、藍色為 #008ec4、洋紅為 #523c79。

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

與 Pencil Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)