跳到主要內容

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