Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

HTML Painter Hotkey

Aaron LedrayAaron Ledray17 downloads

Cycle through text or highlight colors on selected text using customizable hotkeys.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Cycle through text color or highlight color on selected text using keyboard shortcuts in Obsidian.

Features

  • Cycle text colors: Apply colors like black → red → blue → green → clear
  • Cycle highlight colors: Apply background colors like yellow → cyan → salmon → clear
  • Supports any valid CSS color name or hex code
  • Customizable color lists in plugin settings
  • Selection stays highlighted so you can keep pressing the hotkey to cycle

Usage

  1. Select any text in your Obsidian note
  2. Press your assigned hotkey to apply the first color
  3. Press again to cycle to the next color
  4. After the final color, the styling is removed (text returns to normal)

Settings

Define your own color sequences in Settings → HTML Painter Hotkey:

  • Text Colors: e.g., black, red, #0044ff, null
  • Highlight Colors: e.g., yellow, cyan, #fa8072, #ccff00, null

Use null as the last item to add a "clear styling" step at the end of the cycle.

Hotkeys

Go to Settings → Hotkeys and search for "HTML Painter" to assign keys to:

  • Cycle HTML Text Color on Selection
  • Cycle HTML Highlight (Background Color) on Selection

Installation

From Obsidian Community Plugins

  1. Open Settings → Community plugins
  2. Click "Browse" and search for "HTML Painter Hotkey"
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder called html-painter-hotkey in your vault's .obsidian/plugins/ directory
  3. Copy the downloaded files into that folder
  4. Enable the plugin in Settings → Community plugins

License

MIT

HealthExcellent
ReviewPassed
About
Cycle text and highlight colors on selected text using hotkeys, stepping through customizable color lists with an optional clear-at-end. Use any valid CSS color name or hex and keep the selection active to press the hotkey repeatedly.
FormattingHotkeysCSS
Details
Current version
1.0.2
Last updated
7 days ago
Created
Last year
Updates
3 releases
Downloads
17
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Aaron LedrayAaron Ledrayaaronledray
GitHubaaronledray
  1. Community
  2. Plugins
  3. Formatting
  4. HTML Painter Hotkey

Related plugins

Admonition

Admonition block-styled content.

Colored Text

Color the selected texts.

Blur

Create obfuscated blocks of text.

Better Bullets

Improves readability of bulleted notes.

Columns

Create columns in Markdown.

Inline spoilers

Adds Discord-like syntax for inline spoilers.

Callout Toggles

Instantly add, switch, or remove callouts in your notes. Provides a separate command for every callout type.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.