跳到主要內容

Sex Colors

Sex Colors 是一套深色終端機配色(純黑),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
8.73:1最低 3.19
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
❯

Sex Colors 的設定檔

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

Sex Colors

存到 ~/.config/ghostty/themes/Sex Colors,再在 config 或 config.ghostty 裏寫 theme = Sex Colors

更多 Ghostty 配色
原始檔案
# Theme: Sex Colors (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/sex-colors?format=ghostty

palette = 0=#252525
palette = 1=#ff9f95
palette = 2=#a6e22e
palette = 3=#fd971f
palette = 4=#435e87
palette = 5=#789ec6
palette = 6=#5e7175
palette = 7=#dbdcdc
palette = 8=#454545
palette = 9=#ff8d80
palette = 10=#b6e354
palette = 11=#fd971f
palette = 12=#587aa4
palette = 13=#46a4ff
palette = 14=#a3babf
palette = 15=#fdfdfd
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Sex Colors 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#252525rgb(37 37 37)hsl(0 0% 15%)oklch(26.4% 0.000 0)1.37 低於 AA
紅color1#ff9f95rgb(255 159 149)hsl(6 100% 79%)oklch(79.7% 0.116 26.4)10.65 AAA
綠color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)13.54 AAA
黃color3#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)9.62 AAA
藍color4#435e87rgb(67 94 135)hsl(216 34% 40%)oklch(47.9% 0.074 258.5)3.19 AA 大字體
洋紅color5#789ec6rgb(120 158 198)hsl(211 41% 62%)oklch(68.6% 0.073 250.2)7.50 AAA
青color6#5e7175rgb(94 113 117)hsl(190 11% 41%)oklch(53.5% 0.023 211.8)4.09 AA 大字體
白color7#dbdcdcrgb(219 220 220)hsl(180 1% 86%)oklch(89.4% 0.001 197.1)15.28 AAA
亮黑color8#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)2.19 低於 AA
亮紅color9#ff8d80rgb(255 141 128)hsl(6 100% 75%)oklch(76.4% 0.140 27.6)9.37 AAA
亮綠color10#b6e354rgb(182 227 84)hsl(79 72% 61%)oklch(85.7% 0.176 124.9)14.10 AAA
亮黃color11#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)9.62 AAA
亮藍color12#587aa4rgb(88 122 164)hsl(213 30% 49%)oklch(57.1% 0.076 254.2)4.73 AA
亮洋紅color13#46a4ffrgb(70 164 255)hsl(210 100% 64%)oklch(70.5% 0.160 250.6)8.01 AAA
亮青color14#a3babfrgb(163 186 191)hsl(191 18% 69%)oklch(77.3% 0.026 212.3)10.33 AAA
亮白color15#fdfdfdrgb(253 253 253)hsl(0 0% 99%)oklch(99.4% 0.000 0)20.65 AAA

關於 Sex Colors

Sex Colors 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.73:1,最低 3.19:1。

色板整體色彩飽和度適中,其中紅色為 #ff9f95、綠色為 #a6e22e、藍色為 #435e87、洋紅為 #789ec6。

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

與 Sex Colors 相似的配色

資料來源:terminal.sexy (MIT)