跳到主要內容

Laser

Laser 是一套深色終端機配色(柔和、粉彩),背景色 #030d18,文字色 #f106e3,對比度 5.5:1

取得設定檔
背景色
#030d18
前景色
#f106e3
文字對比度
5.47:1AA
強調色對比度
12.58:1最低 5.27
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
❯

Laser 的設定檔

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

Laser

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

更多 Ghostty 配色
原始檔
# Theme: Laser (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/laser?format=ghostty

palette = 0=#626262
palette = 1=#ff8373
palette = 2=#b4fb73
palette = 3=#09b4bd
palette = 4=#fed300
palette = 5=#ff90fe
palette = 6=#d1d1fe
palette = 7=#f1f1f1
palette = 8=#8f8f8f
palette = 9=#ffc4be
palette = 10=#d6fcba
palette = 11=#fffed5
palette = 12=#f92883
palette = 13=#ffb2fe
palette = 14=#e6e7fe
palette = 15=#ffffff
background = #030d18
foreground = #f106e3
cursor-color = #00ff9c
cursor-text = #ffffff
selection-background = #2e206a
selection-foreground = #f4f4f4

Laser 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#030d18rgb(3 13 24)hsl(211 78% 5%)oklch(15.5% 0.030 247.7)—
前景色foreground#f106e3rgb(241 6 227)hsl(304 95% 48%)oklch(66.5% 0.299 331.6)5.47 AA
游標cursor#00ff9crgb(0 255 156)hsl(157 100% 50%)oklch(88.0% 0.211 156.6)14.69 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.54 AAA
選取範圍selection#2e206argb(46 32 106)hsl(251 54% 27%)oklch(31.0% 0.122 285.5)1.42 低於 AA
選取文字selectionText#f4f4f4rgb(244 244 244)hsl(0 0% 96%)oklch(96.7% 0.000 0)17.77 AAA
黑color0#626262rgb(98 98 98)hsl(0 0% 38%)oklch(49.6% 0.000 0)3.20 AA 大字級
紅color1#ff8373rgb(255 131 115)hsl(7 100% 73%)oklch(74.6% 0.154 28.8)8.14 AAA
綠color2#b4fb73rgb(180 251 115)hsl(91 94% 72%)oklch(91.3% 0.182 132.0)15.81 AAA
黃color3#09b4bdrgb(9 180 189)hsl(183 91% 39%)oklch(70.1% 0.118 201.2)7.70 AAA
藍color4#fed300rgb(254 211 0)hsl(50 100% 50%)oklch(87.8% 0.180 93.9)13.52 AAA
洋紅color5#ff90fergb(255 144 254)hsl(301 100% 78%)oklch(80.8% 0.188 327.5)9.93 AAA
青color6#d1d1fergb(209 209 254)hsl(240 96% 91%)oklch(87.5% 0.062 285.1)13.27 AAA
白color7#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)17.30 AAA
亮黑color8#8f8f8frgb(143 143 143)hsl(0 0% 56%)oklch(65.0% 0.000 0)6.04 AA
亮紅color9#ffc4bergb(255 196 190)hsl(6 100% 87%)oklch(87.2% 0.069 25.2)12.93 AAA
亮綠color10#d6fcbargb(214 252 186)hsl(95 92% 86%)oklch(94.8% 0.095 132.3)17.21 AAA
亮黃color11#fffed5rgb(255 254 213)hsl(59 100% 92%)oklch(98.7% 0.053 106.2)18.97 AAA
亮藍color12#f92883rgb(249 40 131)hsl(334 95% 57%)oklch(64.7% 0.243 1.9)5.27 AA
亮洋紅color13#ffb2fergb(255 178 254)hsl(301 100% 85%)oklch(86.0% 0.131 327.1)12.14 AAA
亮青color14#e6e7fergb(230 231 254)hsl(238 92% 95%)oklch(93.4% 0.031 283.8)16.03 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.54 AAA

關於 Laser

Laser 採用冷色調的深色背景(#030d18),預設前景色為 #f106e3。內文的 WCAG 對比度為 5.47:1(AA),12 種 ANSI 彩色槽位平均對比度 12.58:1,最低 5.27:1。

色票整體色彩彩度適中,其中紅色為 #ff8373、綠色為 #b4fb73、藍色為 #fed300、洋紅為 #ff90fe。

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

與 Laser 相似的配色

資料來源:iTerm2 Color Schemes (MIT)