Text Styling Commands: Color, Highlight, and Blink

MarkCharm Demo Suite

September 11, 2026

Abstract

This demo showcases the inline text styling commands available in MarkCharm for coloring, highlighting, and blinking text. These commands accept any valid CSS color value and can be freely composed through nesting.

1 Text Color

1.1 Named CSS Colors

You can use any CSS named color: red text, blue text, green text, tomato text, coral text, and orchid text.

1.2 Hex Colors

Hex color codes are supported: crimson, emerald, amethyst, and sunflower.

Short hex is also valid: ocean blue.

1.3 RGB and HSL

For precise control: RGB blueand HSL pink.


2 Text Color with Background

When three arguments are provided, the first is text color and the second is background color:


3 Background Highlighting

Background highlighting is useful for emphasis:

3.1 Highlight with Text Color

Highlight also accepts an optional third argument for text color:


4 Blinking Text

The blink effect makes text flash using CSS animation:


5 Composing Commands

All commands can be freely nested to combine effects:

5.1 Color + Blink

Danger! System overheating!

5.2 Highlight + Blink

URGENT: Read this immediately

5.3 Color + Highlight + Blink

CRITICAL WARNING

5.4 Color + Bold

This text is both bold and blue

5.5 Highlight + Italic

Italicized text on a subtle gray background

5.6 Multiple Effects in One Paragraph

In this paragraph we have blue text, then highlighted text, and then blinking text. All composable.


6 Color Reference