跳到正文

Ride the Current

Ride the Current 是一套深色终端配色(高对比度、冷色),背景色 #041b30,文字色 #e0f2fc,对比度 15.2:1

获取配置
背景色
#041b30
前景色
#e0f2fc
文字对比度
15.17:1AAA
强调色对比度
9.40:1最低 6.12
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
❯

Ride the Current 的配置文件

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

Ride the Current

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

更多 Ghostty 配色
原始文件
# Theme: Ride the Current (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/ride-the-current?format=ghostty

palette = 0=#9aafbd
palette = 1=#e7787b
palette = 2=#7dc5a6
palette = 3=#e4c476
palette = 4=#79b4ff
palette = 5=#ba98f4
palette = 6=#6ccee0
palette = 7=#e0f2fc
palette = 8=#b6c8d2
palette = 9=#f3949b
palette = 10=#9ed8ba
palette = 11=#f2d590
palette = 12=#a0ccff
palette = 13=#d0b3fa
palette = 14=#90e1eb
palette = 15=#f5fcff
background = #041b30
foreground = #e0f2fc
cursor-color = #58aaff
cursor-text = #041b30
selection-background = #173e67
selection-foreground = #f1faff

Ride the Current 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#041b30rgb(4 27 48)hsl(209 85% 10%)oklch(21.7% 0.051 248.6)—
前景色foreground#e0f2fcrgb(224 242 252)hsl(201 82% 93%)oklch(95.1% 0.023 231.8)15.17 AAA
光标cursor#58aaffrgb(88 170 255)hsl(211 100% 67%)oklch(72.4% 0.148 251.3)7.15 AAA
光标文字cursorText#041b30rgb(4 27 48)hsl(209 85% 10%)oklch(21.7% 0.051 248.6)1.00 低于 AA
选区selection#173e67rgb(23 62 103)hsl(211 63% 25%)oklch(35.9% 0.084 252.2)1.59 低于 AA
选区文字selectionText#f1faffrgb(241 250 255)hsl(201 100% 97%)oklch(98.0% 0.012 231.6)16.49 AAA
黑color0#9aafbdrgb(154 175 189)hsl(204 21% 67%)oklch(74.2% 0.031 237.1)7.67 AAA
红color1#e7787brgb(231 120 123)hsl(358 70% 69%)oklch(70.0% 0.137 19.5)6.12 AA
绿color2#7dc5a6rgb(125 197 166)hsl(154 38% 63%)oklch(76.7% 0.086 165.2)8.64 AAA
黄color3#e4c476rgb(228 196 118)hsl(43 67% 68%)oklch(83.1% 0.104 87.8)10.34 AAA
蓝color4#79b4ffrgb(121 180 255)hsl(214 100% 74%)oklch(76.0% 0.125 255.0)8.12 AAA
品红color5#ba98f4rgb(186 152 244)hsl(262 81% 78%)oklch(74.6% 0.134 300.2)7.38 AAA
青color6#6ccee0rgb(108 206 224)hsl(189 65% 65%)oklch(79.8% 0.095 211.0)9.58 AAA
白color7#e0f2fcrgb(224 242 252)hsl(201 82% 93%)oklch(95.1% 0.023 231.8)15.17 AAA
亮黑color8#b6c8d2rgb(182 200 210)hsl(201 24% 77%)oklch(82.2% 0.024 231.9)10.11 AAA
亮红color9#f3949brgb(243 148 155)hsl(356 80% 77%)oklch(76.6% 0.115 15.4)7.90 AAA
亮绿color10#9ed8bargb(158 216 186)hsl(149 43% 73%)oklch(83.4% 0.073 161.8)10.78 AAA
亮黄color11#f2d590rgb(242 213 144)hsl(42 79% 76%)oklch(88.2% 0.093 87.7)12.20 AAA
亮蓝color12#a0ccffrgb(160 204 255)hsl(212 100% 81%)oklch(83.2% 0.086 252.5)10.44 AAA
亮品红color13#d0b3fargb(208 179 250)hsl(265 88% 84%)oklch(81.6% 0.102 302.9)9.56 AAA
亮青color14#90e1ebrgb(144 225 235)hsl(187 69% 74%)oklch(86.1% 0.080 205.7)11.75 AAA
亮白color15#f5fcffrgb(245 252 255)hsl(198 100% 98%)oklch(98.7% 0.008 225.1)16.81 AAA

关于 Ride the Current

Ride the Current 采用冷色调的深色背景(#041b30),默认前景色为 #e0f2fc。正文的 WCAG 对比度为 15.17:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.40:1,最低 6.12:1。

色板整体色彩饱和度适中,其中红色为 #e7787b、绿色为 #7dc5a6、蓝色为 #79b4ff、品红为 #ba98f4。

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

与 Ride the Current 相似的配色

数据来源:iTerm2 Color Schemes (MIT)