HTML Entity for Trigram Fire (☲)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2632

What Is Trigram Fire?

Trigram for fire (☲) is the Unicode character at U+2632 in Miscellaneous Symbols. Official name: TRIGRAM FOR FIRE — the I Ching / Yijing bagua symbol also called lí (middle line broken; outer lines solid).

Remember
Character     ☲
Unicode       U+2632
Named entity  (none)
Hex entity    ☲
Decimal       ☲
CSS escape    \2632
Not the same  ☷ · ☵ · ☰

Prefer ☲ or ☲ in HTML markup. You can also type ☲ in UTF-8. For the paired water trigram, use ☵ (☵).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNoneUse numeric or type the character
Direct character☲HTML text (UTF-8)
Hex entity☲HTML markup (preferred)
Decimal entity☲HTML markup
CSS escape\2632Stylesheet content
Water (related)☵ (U+2635)Trigram for water

When to Use Which

SituationUse
Fire trigram (lí)☲ or type ☲
Earth trigram☷ (U+2637)
Heaven trigram☰ (U+2630)
Water trigram☵ (U+2635)
Generated text via ::before / ::aftercontent: "\2632"

Live Preview

Trigram fire rendered alone and next to related bagua symbols.

Large glyph ☲
Notation Fire: ☲
Compared ☲  |  ☵  |  ☷
Hint Compare: Fire ☲ | Water ☵ | Earth ☷
With entities Hex: ☲ | Decimal: ☲

Complete HTML Example

One page that shows the symbol with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ☲, plus a short label example. No named entity exists.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Trigram Fire (☲)</title>
  <style>
    #point::after {
      content: "\2632";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x2632;</p>
  <p>Using HTML Code: &#9778;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ☲</p>
  <p>Label: Fire &#x2632;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2632 → &#x2632; in HTML. Preferred numeric form when you need an entity.

2. Decimal: same code point as 9778 → &#9778;. Same glyph as hex.

3. CSS: use \2632 in content (not an HTML entity). #point::after appends that ☲ after the paragraph text.

4. Typed / label: paste ☲ in UTF-8, or write Fire &#x2632; for a short caption.

5. No named entity: HTML5 does not define a name for U+2632 — use numeric references or type the character.

Pitfalls & Tips

Common mistakes when working with U+2632.

vs ☵

Not water

☵ (U+2635) is the water trigram (kǎn). Fire and water look related but have different line patterns and code points.

vs ☷

Not earth

☷ (U+2637) is three broken lines (earth). Do not treat every bagua glyph as interchangeable.

Named

No named HTML entity

There is no &trigramfire; for U+2632. Use &#x2632; or &#9778;.

Fonts

Needs symbol coverage

Some UI fonts omit bagua trigrams. Prefer a stack that includes a symbols or CJK-friendly font if the glyph must always show.

CSS vs HTML

Do not mix escapes

\2632 belongs in CSS strings. &#x2632; / &#9778; belong in HTML.

A11y

Name the trigram in context

Screen readers may announce this unevenly. Prefer nearby plain-language text such as “trigram for fire” when meaning matters.

Browser Support

Trigram fire (U+2632) and its entity forms (&#x2632;, &#9778;, CSS \\2632) are supported in all mainstream browsers. Visible glyphs depend on Miscellaneous Symbols font coverage.

✓ Universal support

Trigram Fire (☲)

Encode with hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2632 / entities Full support

Bottom line: Prefer &#x2632; or &#9778; in HTML. Use \\2632 only inside CSS content. There is no named entity.

Key Takeaways

  • Unicode: trigram fire is U+2632 (decimal 9778) — glyph ☲.
  • HTML: no named entity — use &#x2632; / &#9778; / type ☲.
  • CSS: use \2632 inside content for generated text.
  • Meaning: ☲ is fire (lí) — not ☵ (water), not ☷ (earth).

One line: U+2632 → &#x2632; / &#9778; / CSS \2632 (no named entity).

Frequently Asked Questions

Use &#x2632; (hex), &#9778; (decimal), type ☲ directly in UTF-8, or the CSS escape \2632 in content. There is no named HTML entity.
U+2632 (TRIGRAM FOR FIRE). Hex 2632, decimal 9778. It belongs to Miscellaneous Symbols (U+2600–U+26FF).
No. Use numeric references &#x2632; or &#9778;, or type ☲ in UTF-8.
No. ☲ is U+2632 (fire / lí). ☷ is U+2637 (earth). ☵ is U+2635 (water).
Use it for I Ching / Yijing content, cultural symbols, or diagrams that need the fire trigram — not as a generic flame emoji substitute.
HTML entities (&#9778; or &#x2632;) go in markup. The CSS escape \2632 goes in stylesheet strings (usually content on ::before/::after).

Did you know?

Trigram for fire is Unicode U+2632 (decimal 9778) — glyph ☲ in Miscellaneous Symbols (U+2600–U+26FF). Official name: TRIGRAM FOR FIRE (I Ching / Yijing; Chinese lí). HTML5 has no named entity — use &#x2632; or &#9778;. Do not confuse with trigram for earth U+2637 (☷) or trigram for water U+2635 (☵).

Next: Trigram Heaven

Learn the HTML entity for trigram heaven (U+2630).

Continue tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful