跳到主要內容

Keys Ocean Sunset

Keys Ocean Sunset 是一套深色終端機配色(冷色),背景色 #0a1018,文字色 #b8c8dc,對比度 11.2:1

取得設定檔
背景色
#0a1018
前景色
#b8c8dc
文字對比度
11.21:1AAA
強調色對比度
8.18:1最低 4.26
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
❯

Keys Ocean Sunset 的設定檔

16 種格式,都從同一份色票產生

Keys Ocean Sunset

存到 ~/.config/ghostty/themes/Keys Ocean Sunset,再在 config 或 config.ghostty 裡寫 theme = Keys Ocean Sunset

更多 Ghostty 配色
原始檔
# Theme: Keys Ocean Sunset (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/keys-ocean-sunset?format=ghostty

palette = 0=#101927
palette = 1=#e85a52
palette = 2=#4a9a72
palette = 3=#e89a2e
palette = 4=#5288b8
palette = 5=#bc5090
palette = 6=#5ec8c8
palette = 7=#a5b5d5
palette = 8=#344658
palette = 9=#fc9077
palette = 10=#62c48e
palette = 11=#ffcb9a
palette = 12=#5a8fd4
palette = 13=#fdbfde
palette = 14=#7ed4e0
palette = 15=#fff5be
background = #0a1018
foreground = #b8c8dc
cursor-color = #fc9077
cursor-text = #0a1018
selection-background = #1a2430
selection-foreground = #fff5be

Keys Ocean Sunset 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a1018rgb(10 16 24)hsl(214 41% 7%)oklch(17.1% 0.019 255.8)—
前景色foreground#b8c8dcrgb(184 200 220)hsl(213 34% 79%)oklch(82.7% 0.033 254.0)11.21 AAA
游標cursor#fc9077rgb(252 144 119)hsl(11 96% 73%)oklch(76.3% 0.136 34.0)8.54 AAA
游標文字cursorText#0a1018rgb(10 16 24)hsl(214 41% 7%)oklch(17.1% 0.019 255.8)1.00 低於 AA
選取範圍selection#1a2430rgb(26 36 48)hsl(213 30% 15%)oklch(25.7% 0.027 253.3)1.22 低於 AA
選取文字selectionText#fff5bergb(255 245 190)hsl(51 100% 87%)oklch(96.5% 0.071 98.9)17.32 AAA
黑color0#101927rgb(16 25 39)hsl(217 42% 11%)oklch(21.2% 0.031 259.0)1.08 低於 AA
紅color1#e85a52rgb(232 90 82)hsl(3 77% 62%)oklch(65.2% 0.178 26.4)5.47 AA
綠color2#4a9a72rgb(74 154 114)hsl(150 35% 45%)oklch(62.4% 0.100 159.7)5.60 AA
黃color3#e89a2ergb(232 154 46)hsl(35 80% 55%)oklch(74.7% 0.148 69.6)8.26 AAA
藍color4#5288b8rgb(82 136 184)hsl(208 42% 52%)oklch(60.9% 0.093 246.8)5.06 AA
洋紅color5#bc5090rgb(188 80 144)hsl(324 45% 53%)oklch(59.0% 0.157 346.4)4.26 AA 大字級
青color6#5ec8c8rgb(94 200 200)hsl(180 49% 58%)oklch(77.1% 0.098 195.3)9.61 AAA
白color7#a5b5d5rgb(165 181 213)hsl(220 36% 74%)oklch(77.1% 0.049 264.2)9.24 AAA
亮黑color8#344658rgb(52 70 88)hsl(210 26% 27%)oklch(38.7% 0.038 248.9)1.97 低於 AA
亮紅color9#fc9077rgb(252 144 119)hsl(11 96% 73%)oklch(76.3% 0.136 34.0)8.54 AAA
亮綠color10#62c48ergb(98 196 142)hsl(147 45% 58%)oklch(74.6% 0.122 157.4)8.91 AAA
亮黃color11#ffcb9argb(255 203 154)hsl(29 100% 80%)oklch(87.7% 0.087 64.6)12.96 AAA
亮藍color12#5a8fd4rgb(90 143 212)hsl(214 59% 59%)oklch(64.3% 0.119 255.6)5.74 AA
亮洋紅color13#fdbfdergb(253 191 222)hsl(330 94% 87%)oklch(87.0% 0.081 347.4)12.44 AAA
亮青color14#7ed4e0rgb(126 212 224)hsl(187 61% 69%)oklch(82.0% 0.085 207.1)11.25 AAA
亮白color15#fff5bergb(255 245 190)hsl(51 100% 87%)oklch(96.5% 0.071 98.9)17.32 AAA

關於 Keys Ocean Sunset

Keys Ocean Sunset 採用冷色調的深色背景(#0a1018),預設前景色為 #b8c8dc。內文的 WCAG 對比度為 11.21:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.18:1,最低 4.26:1。

色票整體色彩彩度適中,其中紅色為 #e85a52、綠色為 #4a9a72、藍色為 #5288b8、洋紅為 #bc5090。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Keys Ocean Sunset 相似的配色

資料來源:iTerm2 Color Schemes (MIT)