跳到主要內容

Measured Dark

Measured Dark 是一套深色終端機配色(冷色),背景色 #00211f,文字色 #dcdcdc,對比度 12.4:1

取得設定檔
背景色
#00211f
前景色
#dcdcdc
文字對比度
12.38:1AAA
強調色對比度
7.17:1最低 5.66
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 Dark 的設定檔

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

Measured Dark

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

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

palette = 0=#00211f
palette = 1=#ce7e8e
palette = 2=#56c16f
palette = 3=#bfac4e
palette = 4=#88b0da
palette = 5=#b39be0
palette = 6=#62c0be
palette = 7=#dcdcdc
palette = 8=#ababab
palette = 9=#ce7e8e
palette = 10=#56c16f
palette = 11=#bfac4e
palette = 12=#88b0da
palette = 13=#b39be0
palette = 14=#62c0be
palette = 15=#f5f5f5
background = #00211f
foreground = #dcdcdc
cursor-color = #dcdcdc
cursor-text = #00211f
selection-background = #334b48
selection-foreground = #dcdcdc

Measured Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#00211frgb(0 33 31)hsl(176 100% 6%)oklch(22.3% 0.039 189.0)—
前景色foreground#dcdcdcrgb(220 220 220)hsl(0 0% 86%)oklch(89.4% 0.000 0)12.38 AAA
游標cursor#dcdcdcrgb(220 220 220)hsl(0 0% 86%)oklch(89.4% 0.000 0)12.38 AAA
游標文字cursorText#00211frgb(0 33 31)hsl(176 100% 6%)oklch(22.3% 0.039 189.0)1.00 低於 AA
選取範圍selection#334b48rgb(51 75 72)hsl(173 19% 25%)oklch(39.2% 0.030 186.4)1.81 低於 AA
選取文字selectionText#dcdcdcrgb(220 220 220)hsl(0 0% 86%)oklch(89.4% 0.000 0)12.38 AAA
黑color0#00211frgb(0 33 31)hsl(176 100% 6%)oklch(22.3% 0.039 189.0)1.00 低於 AA
紅color1#ce7e8ergb(206 126 142)hsl(348 45% 65%)oklch(68.2% 0.101 7.1)5.66 AA
綠color2#56c16frgb(86 193 111)hsl(134 46% 55%)oklch(72.8% 0.154 148.9)7.48 AAA
黃color3#bfac4ergb(191 172 78)hsl(50 47% 53%)oklch(74.2% 0.116 98.0)7.46 AAA
藍color4#88b0dargb(136 176 218)hsl(211 53% 69%)oklch(74.3% 0.075 250.1)7.49 AAA
洋紅color5#b39be0rgb(179 155 224)hsl(261 53% 74%)oklch(73.6% 0.101 299.9)7.02 AAA
青color6#62c0bergb(98 192 190)hsl(179 43% 57%)oklch(75.0% 0.089 193.6)7.92 AAA
白color7#dcdcdcrgb(220 220 220)hsl(0 0% 86%)oklch(89.4% 0.000 0)12.38 AAA
亮黑color8#abababrgb(171 171 171)hsl(0 0% 67%)oklch(74.1% 0.000 0)7.39 AAA
亮紅color9#ce7e8ergb(206 126 142)hsl(348 45% 65%)oklch(68.2% 0.101 7.1)5.66 AA
亮綠color10#56c16frgb(86 193 111)hsl(134 46% 55%)oklch(72.8% 0.154 148.9)7.48 AAA
亮黃color11#bfac4ergb(191 172 78)hsl(50 47% 53%)oklch(74.2% 0.116 98.0)7.46 AAA
亮藍color12#88b0dargb(136 176 218)hsl(211 53% 69%)oklch(74.3% 0.075 250.1)7.49 AAA
亮洋紅color13#b39be0rgb(179 155 224)hsl(261 53% 74%)oklch(73.6% 0.101 299.9)7.02 AAA
亮青color14#62c0bergb(98 192 190)hsl(179 43% 57%)oklch(75.0% 0.089 193.6)7.92 AAA
亮白color15#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)15.57 AAA

關於 Measured Dark

Measured Dark 採用冷色調的深色背景(#00211f),預設前景色為 #dcdcdc。內文的 WCAG 對比度為 12.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.17:1,最低 5.66:1。

色票整體色彩彩度適中,其中紅色為 #ce7e8e、綠色為 #56c16f、藍色為 #88b0da、洋紅為 #b39be0。

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

與 Measured Dark 相似的配色

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