跳到主要內容

Measured Light

Measured Light 是一套淺色終端機配色,背景色 #fdf9f5,文字色 #292929,對比度 13.9:1

取得設定檔
背景色
#fdf9f5
前景色
#292929
文字對比度
13.89:1AAA
強調色對比度
6.43:1最低 5.58
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
❯

Measured Light 的設定檔

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

Measured Light

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

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

palette = 0=#fdf9f5
palette = 1=#ac1f35
palette = 2=#0c680c
palette = 3=#645a00
palette = 4=#0158ad
palette = 5=#6645c2
palette = 6=#01716f
palette = 7=#292929
palette = 8=#5a5a5a
palette = 9=#ac1f35
palette = 10=#0c680c
palette = 11=#645a00
palette = 12=#0158ad
palette = 13=#6645c2
palette = 14=#01716f
palette = 15=#000000
background = #fdf9f5
foreground = #292929
cursor-color = #292929
cursor-text = #fdf9f5
selection-background = #c3c0bd
selection-foreground = #292929

Measured Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fdf9f5rgb(253 249 245)hsl(30 67% 98%)oklch(98.4% 0.007 67.7)—
前景色foreground#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)13.89 AAA
游標cursor#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)13.89 AAA
游標文字cursorText#fdf9f5rgb(253 249 245)hsl(30 67% 98%)oklch(98.4% 0.007 67.7)1.00 低於 AA
選取範圍selection#c3c0bdrgb(195 192 189)hsl(30 5% 75%)oklch(80.9% 0.005 67.7)1.73 低於 AA
選取文字selectionText#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)13.89 AAA
黑color0#fdf9f5rgb(253 249 245)hsl(30 67% 98%)oklch(98.4% 0.007 67.7)1.00 低於 AA
紅color1#ac1f35rgb(172 31 53)hsl(351 69% 40%)oklch(48.6% 0.175 19.2)6.68 AA
綠color2#0c680crgb(12 104 12)hsl(120 79% 23%)oklch(45.0% 0.146 142.7)6.68 AA
黃color3#645a00rgb(100 90 0)hsl(54 100% 20%)oklch(46.3% 0.097 101.9)6.67 AA
藍color4#0158adrgb(1 88 173)hsl(210 99% 34%)oklch(46.7% 0.153 255.0)6.68 AA
洋紅color5#6645c2rgb(102 69 194)hsl(256 51% 52%)oklch(49.8% 0.185 290.2)6.27 AA
青color6#01716frgb(1 113 111)hsl(179 98% 22%)oklch(49.6% 0.085 192.6)5.58 AA
白color7#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)13.89 AAA
亮黑color8#5a5a5argb(90 90 90)hsl(0 0% 35%)oklch(46.8% 0.000 0)6.58 AA
亮紅color9#ac1f35rgb(172 31 53)hsl(351 69% 40%)oklch(48.6% 0.175 19.2)6.68 AA
亮綠color10#0c680crgb(12 104 12)hsl(120 79% 23%)oklch(45.0% 0.146 142.7)6.68 AA
亮黃color11#645a00rgb(100 90 0)hsl(54 100% 20%)oklch(46.3% 0.097 101.9)6.67 AA
亮藍color12#0158adrgb(1 88 173)hsl(210 99% 34%)oklch(46.7% 0.153 255.0)6.68 AA
亮洋紅color13#6645c2rgb(102 69 194)hsl(256 51% 52%)oklch(49.8% 0.185 290.2)6.27 AA
亮青color14#01716frgb(1 113 111)hsl(179 98% 22%)oklch(49.6% 0.085 192.6)5.58 AA
亮白color15#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.05 AAA

關於 Measured Light

Measured Light 採用中性色調的淺色背景(#fdf9f5),預設前景色為 #292929。內文的 WCAG 對比度為 13.89:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.43:1,最低 5.58:1。

色票整體色彩彩度適中,其中紅色為 #ac1f35、綠色為 #0c680c、藍色為 #0158ad、洋紅為 #6645c2。

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

與 Measured Light 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)