跳到正文

Warp

Warp 是一套深色终端配色(低饱和、冷色),背景色 #061229,文字色 #b8bbc2,对比度 9.7:1

获取配置
背景色
#061229
前景色
#b8bbc2
文字对比度
9.70:1AAA
强调色对比度
7.17:1最低 1.49
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
❯

Warp 的配置文件

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

Warp

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

更多 Ghostty 配色
原始文件
# Theme: Warp (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/warp?format=ghostty

palette = 0=#061229
palette = 1=#d07346
palette = 2=#99bf52
palette = 3=#fbd461
palette = 4=#5299bf
palette = 5=#9989cc
palette = 6=#72b9bf
palette = 7=#b8bbc2
palette = 8=#717885
palette = 9=#f0a000
palette = 10=#2a3448
palette = 11=#4d5666
palette = 12=#9a99a3
palette = 13=#dbdde0
palette = 14=#b08060
palette = 15=#ffffff
background = #061229
foreground = #b8bbc2
cursor-color = #5299bf
cursor-text = #061229
selection-background = #2c374c
selection-foreground = #b8bbc2

Warp 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#061229rgb(6 18 41)hsl(219 74% 9%)oklch(18.6% 0.050 261.3)—
前景色foreground#b8bbc2rgb(184 187 194)hsl(222 8% 74%)oklch(79.2% 0.010 267.3)9.70 AAA
光标cursor#5299bfrgb(82 153 191)hsl(201 46% 54%)oklch(65.2% 0.091 233.9)5.92 AA
光标文字cursorText#061229rgb(6 18 41)hsl(219 74% 9%)oklch(18.6% 0.050 261.3)1.00 低于 AA
选区selection#2c374crgb(44 55 76)hsl(219 27% 24%)oklch(33.6% 0.040 263.0)1.56 低于 AA
选区文字selectionText#b8bbc2rgb(184 187 194)hsl(222 8% 74%)oklch(79.2% 0.010 267.3)9.70 AAA
黑color0#061229rgb(6 18 41)hsl(219 74% 9%)oklch(18.6% 0.050 261.3)1.00 低于 AA
红color1#d07346rgb(208 115 70)hsl(20 59% 55%)oklch(65.1% 0.131 45.4)5.52 AA
绿color2#99bf52rgb(153 191 82)hsl(81 46% 54%)oklch(75.4% 0.144 125.8)8.82 AAA
黄color3#fbd461rgb(251 212 97)hsl(45 95% 68%)oklch(88.2% 0.139 90.5)13.04 AAA
蓝color4#5299bfrgb(82 153 191)hsl(201 46% 54%)oklch(65.2% 0.091 233.9)5.92 AA
品红color5#9989ccrgb(153 137 204)hsl(254 40% 67%)oklch(67.0% 0.099 294.5)6.04 AA
青color6#72b9bfrgb(114 185 191)hsl(185 38% 60%)oklch(74.1% 0.072 202.6)8.35 AAA
白color7#b8bbc2rgb(184 187 194)hsl(222 8% 74%)oklch(79.2% 0.010 267.3)9.70 AAA
亮黑color8#717885rgb(113 120 133)hsl(219 8% 48%)oklch(57.1% 0.022 262.9)4.20 AA 大字号
亮红color9#f0a000rgb(240 160 0)hsl(40 100% 47%)oklch(76.6% 0.163 73.4)8.64 AAA
亮绿color10#2a3448rgb(42 52 72)hsl(220 26% 22%)oklch(32.5% 0.038 263.8)1.49 低于 AA
亮黄color11#4d5666rgb(77 86 102)hsl(218 14% 35%)oklch(45.1% 0.029 262.0)2.52 低于 AA
亮蓝color12#9a99a3rgb(154 153 163)hsl(246 5% 62%)oklch(68.7% 0.015 290.6)6.62 AA
亮品红color13#dbdde0rgb(219 221 224)hsl(216 7% 87%)oklch(89.7% 0.005 258.3)13.70 AAA
亮青color14#b08060rgb(176 128 96)hsl(24 34% 53%)oklch(64.0% 0.075 54.6)5.42 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.65 AAA

关于 Warp

Warp 采用冷色调的深色背景(#061229),默认前景色为 #b8bbc2。正文的 WCAG 对比度为 9.70:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.17:1,最低 1.49:1。

色板整体色彩饱和度偏低,其中红色为 #d07346、绿色为 #99bf52、蓝色为 #5299bf、品红为 #9989cc。

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

与 Warp 相似的配色

数据来源:Warp Themes (Apache-2.0)