跳到正文

Y2K Chrome

Y2K Chrome 是一套浅色终端配色(鲜艳),背景色 #f1f5f9,文字色 #0f172a,对比度 16.3:1

获取配置
背景色
#f1f5f9
前景色
#0f172a
文字对比度
16.30:1AAA
强调色对比度
5.00:1最低 2.56
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
❯

Y2K Chrome 的配置文件

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

Y2K Chrome

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

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

palette = 0=#383f4f
palette = 1=#dc2626
palette = 2=#15803d
palette = 3=#0891b2
palette = 4=#f97316
palette = 5=#7c3aed
palette = 6=#2563eb
palette = 7=#475569
palette = 8=#a3b1c4
palette = 9=#b01e1e
palette = 10=#116631
palette = 11=#077792
palette = 12=#c75c12
palette = 13=#632ebe
palette = 14=#1e4fbc
palette = 15=#0f172a
background = #f1f5f9
foreground = #0f172a
cursor-color = #0f172a
cursor-text = #f1f5f9
selection-background = #0f172a
selection-foreground = #f1f5f9

Y2K Chrome 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f1f5f9rgb(241 245 249)hsl(210 40% 96%)oklch(96.8% 0.007 247.9)—
前景色foreground#0f172argb(15 23 42)hsl(222 47% 11%)oklch(20.8% 0.040 265.8)16.30 AAA
光标cursor#0f172argb(15 23 42)hsl(222 47% 11%)oklch(20.8% 0.040 265.8)16.30 AAA
光标文字cursorText#f1f5f9rgb(241 245 249)hsl(210 40% 96%)oklch(96.8% 0.007 247.9)1.00 低于 AA
选区selection#0f172argb(15 23 42)hsl(222 47% 11%)oklch(20.8% 0.040 265.8)16.30 AAA
选区文字selectionText#f1f5f9rgb(241 245 249)hsl(210 40% 96%)oklch(96.8% 0.007 247.9)1.00 低于 AA
黑color0#383f4frgb(56 63 79)hsl(222 17% 26%)oklch(36.8% 0.029 266.4)9.62 AAA
红color1#dc2626rgb(220 38 38)hsl(0 72% 51%)oklch(57.7% 0.215 27.3)4.41 AA 大字号
绿color2#15803drgb(21 128 61)hsl(142 72% 29%)oklch(52.7% 0.137 150.1)4.58 AA
黄color3#0891b2rgb(8 145 178)hsl(192 91% 36%)oklch(60.9% 0.111 221.7)3.36 AA 大字号
蓝color4#f97316rgb(249 115 22)hsl(25 95% 53%)oklch(70.5% 0.187 47.6)2.56 低于 AA
品红color5#7c3aedrgb(124 58 237)hsl(262 83% 58%)oklch(54.1% 0.247 293.0)5.20 AA
青color6#2563ebrgb(37 99 235)hsl(221 83% 53%)oklch(54.6% 0.215 262.9)4.72 AA
白color7#475569rgb(71 85 105)hsl(215 19% 35%)oklch(44.6% 0.037 257.3)6.92 AA
亮黑color8#a3b1c4rgb(163 177 196)hsl(215 22% 70%)oklch(75.6% 0.032 256.0)1.99 低于 AA
亮红color9#b01e1ergb(176 30 30)hsl(0 71% 40%)oklch(49.0% 0.181 27.2)6.28 AA
亮绿color10#116631rgb(17 102 49)hsl(143 71% 23%)oklch(44.9% 0.114 150.5)6.46 AA
亮黄color11#077792rgb(7 119 146)hsl(192 91% 30%)oklch(52.8% 0.095 221.3)4.72 AA
亮蓝color12#c75c12rgb(199 92 18)hsl(25 83% 43%)oklch(59.8% 0.156 48.0)3.86 AA 大字号
亮品红color13#632ebergb(99 46 190)hsl(262 61% 46%)oklch(46.1% 0.207 293.2)7.19 AAA
亮青color14#1e4fbcrgb(30 79 188)hsl(221 72% 43%)oklch(46.5% 0.180 263.0)6.61 AA
亮白color15#0f172argb(15 23 42)hsl(222 47% 11%)oklch(20.8% 0.040 265.8)16.30 AAA

关于 Y2K Chrome

Y2K Chrome 采用中性色调的浅色背景(#f1f5f9),默认前景色为 #0f172a。正文的 WCAG 对比度为 16.30:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.00:1,最低 2.56:1。

色板整体色彩饱和度较高,其中红色为 #dc2626、绿色为 #15803d、蓝色为 #f97316、品红为 #7c3aed。

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

与 Y2K Chrome 相似的配色

数据来源:iTerm2 Color Schemes (MIT)