跳到正文

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