Skip to main content
Coding Theme

Hackthebox for Obsidian

Hackthebox by golam71 is an Obsidian theme with dark and light modes and 6.5K downloads.

Preview

Theme preview

An Obsidian window rendered with this theme’s palette.

Obsidian desktop preview

Syntax colors, highlights, links, tags, and checkboxes use this theme's palette; window chrome and layout follow Obsidian's default stylesheet.

Install

Install in Obsidian

  1. Open Settings → Appearance → Themes, then Manage.
  2. Search for “Hackthebox” and install it. Obsidian keeps community themes updated.
  3. Or create the folder below and save both theme.css and manifest.json in it, then reload Obsidian.
Theme folder
.obsidian/themes/Hackthebox/theme.css
.obsidian/themes/Hackthebox/manifest.json

Colors

Palette

Colors extracted from the theme stylesheet.

Dark

Background#141d2b
Secondary background#1a2331
Border#4a5466
Text#a4b1cd
Muted text#a4b1cd
Selection background#9fef00
Highlight background#9fef00
Code background#1a2331
Code text#a4b1cd
H1#cad2e2
H2#cad2e2
H3#cad2e2
Base 25#1a2331
Base 50#cad2e2

Light

Background#1a2331
Secondary background#141d2b
Border#4a5466
Text#a4b1cd
Muted text#a4b1cd
Selection background#9fef00
Highlight background#9fef00
Code background#141d2b
Code text#a4b1cd
H1#cad2e2
H2#cad2e2
H3#cad2e2
Base 25#141d2b
Base 50#cad2e2

Contrast — Dark

A cool, balanced dark palette anchored on #141D2B, pairing note text (#A4B1CD) at 7.85:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Selection (#A4B1CD, 1.52:1) and Highlight (#A4B1CD, 1.52:1) sit below 4.5:1 for softer contrast.

Background

#141D2B

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Dark
Temperature
Cool
Saturation
Balanced
  • Note

    #A4B1CD

    7.85:1AAA

  • Muted

    #A4B1CD

    7.85:1AAA

  • Faint

    #CAD2E2

    11.14:1AAA

  • H1–H6

    #CAD2E2

    11.14:1AAA

  • Code

    #A4B1CDon #1A2331

    7.33:1AAA

  • Selection

    #A4B1CDon #9FEF00

    1.52:1Fail

  • Highlight

    #A4B1CDon #9FEF00

    1.52:1Fail

AA is 4.5:1 for normal text, 3:1 only for large text (at least 24px, or 18.7px bold). AAA is 7:1 (4.5:1 for large text). Code and terminal text are normal text, so anything under 4.5:1 fails.

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded. Not set here: Accent.

Contrast — Light

A cool, balanced light palette anchored on #1A2331, pairing note text (#A4B1CD) at 7.33:1 (AAA). 5 of 7 graded roles clear WCAG AA (4.5:1+); Selection (#A4B1CD, 1.52:1) and Highlight (#A4B1CD, 1.52:1) sit below 4.5:1 for softer contrast.

Background

#1A2331

  • Notethe note text on this background
  • Mutedsecondary labels and metadata
  • Fainthints and placeholders
  • H1–H6heading text in a note
  • Codeinline code in the note
  • Selectiontext inside a selection
  • Highlighthighlighted text
Appearance
Light
Temperature
Cool
Saturation
Balanced
  • Note

    #A4B1CD

    7.33:1AAA

  • Muted

    #A4B1CD

    7.33:1AAA

  • Faint

    #CAD2E2

    10.40:1AAA

  • H1–H6

    #CAD2E2

    10.40:1AAA

  • Code

    #A4B1CDon #141D2B

    7.85:1AAA

  • Selection

    #A4B1CDon #9FEF00

    1.52:1Fail

  • Highlight

    #A4B1CDon #9FEF00

    1.52:1Fail

Note text, headings, links, code, selection, highlight, and accent text are graded on the surfaces they use. Code uses code-background; selection and highlight paint the normal text color on those backgrounds. Colors the theme leaves unset come from Obsidian's default theme and are not graded. Not set here: Accent.