跳到正文

Corduroy

Corduroy 是一套深色终端配色(冷色),背景色 #1d1920,文字色 #cdc8d0,对比度 10.5:1

获取配置
背景色
#1d1920
前景色
#cdc8d0
文字对比度
10.53:1AAA
强调色对比度
6.44:1最低 4.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
❯

Corduroy 的配置文件

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

Corduroy

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

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

palette = 0=#1d1920
palette = 1=#e06278
palette = 2=#4b8686
palette = 3=#edb392
palette = 4=#d27f91
palette = 5=#c285b2
palette = 6=#e99d90
palette = 7=#cdc8d0
palette = 8=#6f6373
palette = 9=#e06278
palette = 10=#4b8686
palette = 11=#edb392
palette = 12=#d27f91
palette = 13=#c285b2
palette = 14=#e99d90
palette = 15=#504757
background = #1d1920
foreground = #cdc8d0
cursor-color = #cdc8d0
cursor-text = #1d1920
selection-background = #2e2533
selection-foreground = #cdc8d0

Corduroy 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1d1920rgb(29 25 32)hsl(274 12% 11%)oklch(22.1% 0.015 310.7)—
前景色foreground#cdc8d0rgb(205 200 208)hsl(278 8% 80%)oklch(83.9% 0.012 313.2)10.53 AAA
光标cursor#cdc8d0rgb(205 200 208)hsl(278 8% 80%)oklch(83.9% 0.012 313.2)10.53 AAA
光标文字cursorText#1d1920rgb(29 25 32)hsl(274 12% 11%)oklch(22.1% 0.015 310.7)1.00 低于 AA
选区selection#2e2533rgb(46 37 51)hsl(279 16% 17%)oklch(28.1% 0.028 313.4)1.18 低于 AA
选区文字selectionText#cdc8d0rgb(205 200 208)hsl(278 8% 80%)oklch(83.9% 0.012 313.2)10.53 AAA
黑color0#1d1920rgb(29 25 32)hsl(274 12% 11%)oklch(22.1% 0.015 310.7)1.00 低于 AA
红color1#e06278rgb(224 98 120)hsl(350 67% 63%)oklch(65.8% 0.158 11.7)5.10 AA
绿color2#4b8686rgb(75 134 134)hsl(180 28% 41%)oklch(58.0% 0.062 195.6)4.17 AA 大字号
黄color3#edb392rgb(237 179 146)hsl(22 72% 75%)oklch(81.2% 0.081 50.8)9.46 AAA
蓝color4#d27f91rgb(210 127 145)hsl(347 48% 66%)oklch(69.0% 0.105 6.2)5.93 AA
品红color5#c285b2rgb(194 133 178)hsl(316 33% 64%)oklch(69.2% 0.095 336.6)6.02 AA
青color6#e99d90rgb(233 157 144)hsl(9 67% 74%)oklch(76.8% 0.094 30.1)7.99 AAA
白color7#cdc8d0rgb(205 200 208)hsl(278 8% 80%)oklch(83.9% 0.012 313.2)10.53 AAA
亮黑color8#6f6373rgb(111 99 115)hsl(285 7% 42%)oklch(51.7% 0.029 317.7)3.06 AA 大字号
亮红color9#e06278rgb(224 98 120)hsl(350 67% 63%)oklch(65.8% 0.158 11.7)5.10 AA
亮绿color10#4b8686rgb(75 134 134)hsl(180 28% 41%)oklch(58.0% 0.062 195.6)4.17 AA 大字号
亮黄color11#edb392rgb(237 179 146)hsl(22 72% 75%)oklch(81.2% 0.081 50.8)9.46 AAA
亮蓝color12#d27f91rgb(210 127 145)hsl(347 48% 66%)oklch(69.0% 0.105 6.2)5.93 AA
亮品红color13#c285b2rgb(194 133 178)hsl(316 33% 64%)oklch(69.2% 0.095 336.6)6.02 AA
亮青color14#e99d90rgb(233 157 144)hsl(9 67% 74%)oklch(76.8% 0.094 30.1)7.99 AAA
亮白color15#504757rgb(80 71 87)hsl(274 10% 31%)oklch(41.3% 0.029 310.3)1.96 低于 AA

关于 Corduroy

Corduroy 采用冷色调的深色背景(#1d1920),默认前景色为 #cdc8d0。正文的 WCAG 对比度为 10.53:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.44:1,最低 4.17:1。

色板整体色彩饱和度适中,其中红色为 #e06278、绿色为 #4b8686、蓝色为 #d27f91、品红为 #c285b2。

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

与 Corduroy 相似的配色

数据来源:Tinted Theming (Base16 & Base24) (MIT)