Colors: a minimal plugin for portable inline text colors

Title

Colors: a minimal plugin for portable inline text colors

Post

Disclaimer

Is this plugin open source? Yes
Is this plugin completely free? Yes
Is this plugin vibe-coded beyond the author’s ability to comprehend how it works? No
Community Directory: Colors

I made Colors, a minimal Obsidian plugin for coloring text using hex-based markup.

The color is stored directly inside the note:

~={#e93147}This text is red=~

This keeps the markup portable and independent of palette names, generated IDs, themes, or additional metadata.

Colors renders consistently in:

  • Live Preview
  • Reading Mode
  • PDF export

It also supports LaTeX, inline code, nested colors, custom hex values, and named palette entries through the command menu.

The plugin is intentionally minimal. Palettes act only as shortcuts, while the note itself stores the actual hex color.

Feedback on the syntax and any rendering cases I may have missed would be appreciated.