HTML Entity for Equals Colon (≕)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2255

What You'll Learn

How to display the Equals Colon (≕) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+2255 (EQUALS COLON) in the Mathematical Operators block (U+2200–U+22FF)—an equals sign above a colon, used in proportion-style and specialized equality notation.

Render it with ≕, ≕, the named entity ≕, or CSS escape \2255. Do not confuse ≕ with colon equals (≔, ≔) or equal to by definition (≝, U+225D, no named entity).

⚡ Quick Reference — Equals Colon

Unicode U+2255

Mathematical Operators

Hex Code ≕

Hexadecimal reference

HTML Code ≕

Decimal reference

Named Entity ≕

Equals colon

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2255
Hex code       ≕
HTML code      ≕
Named entity   ≕
CSS code       \2255
Related        U+2254 = Colon equals (≔ ≔); U+225D = Equal to by definition (≝)
1

Complete HTML Example

This example demonstrates the Equals Colon (≕) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2255";
  }
 </style>
</head>
<body>
<p>Equals Colon using Hexadecimal: &#x2255;</p>
<p>Equals Colon using HTML Code: &#8789;</p>
<p>Equals Colon using HTML Entity: &ecolon;</p>
<p id="point">Equals Colon using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Equals Colon entity is universally supported in modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the equals colon symbol (≕) compared with colon equals (≔) and ordinary equals (=):

Proportion 2 ≕ 3
Large glyph
vs colon equals &ecolon; ≕   vs   &colone;
Entities &ecolon;
Numeric refs &#x2255; &#8789; &ecolon;

🧠 How It Works

1

Hexadecimal Code

&#x2255; uses the Unicode hexadecimal value 2255 to display this symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8789; uses the decimal Unicode value 8789 to display the same character.

HTML markup
3

Named Entity

&ecolon; is the semantic named entity for equals colon to—easiest to read in geometry markup.

HTML markup
4

CSS Entity

\2255 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce the glyph: . Unicode U+2255 in the Mathematical Operators block (U+2200–U+22FF).

Use Cases

The Equals Colon (≕) commonly appears in:

📐 Proportions

Ratio and proportion notation using equals colon.

🎓 Education

Textbooks and courses covering specialized equality symbols.

📝 Logic

Formal logic and mathematical definitions in technical writing.

💻 Engineering

Diagrams and specs with formal geometric notation.

📰 Research

Papers publishing correct operator symbols in HTML.

🌐 Symbol guides

Math and geometry entity reference pages.

💡 Best Practices

Do

  • Use &ecolon; for readable math markup (U+2255)
  • Use &colone; (≔) when colon-equals (assignment) is meant
  • Use math-friendly fonts for clear ≕ rendering
  • Serve pages with UTF-8 (<meta charset="utf-8">)
  • Add context when the symbol carries semantic meaning

Don’t

  • Confuse ≕ (equals colon) with ≔ (colon equals) or ≝ (defined as)
  • Use ≕ when simple equality (=) is sufficient
  • Put CSS escape \2255 in HTML text nodes
  • Assume all fonts distinguish ≕, ≔, and = clearly
  • Mix entity styles randomly in one file

Key Takeaways

1

Three HTML references plus CSS all render ≕

&#x2255; &#8789; &ecolon;
2

For CSS stylesheets, use the escape in the content property

\2255
3

Unicode U+2255 — EQUALS COLON

4

&ecolon; is the standard named entity

5

Colon equals is ≔ (&colone;, U+2254)

❓ Frequently Asked Questions

Use &#x2255; (hex), &#8789; (decimal), &ecolon; (named), or \2255 in CSS content. All produce ≕.
U+2255 (EQUALS COLON). Mathematical Operators block (U+2200–U+22FF). Hex 2255, decimal 8789.
When your notation uses the equals-colon operator in proportions, specialized equalities, or formal math—not for ordinary = or assignment (≔).
&ecolon; renders ≕ (U+2255, equals colon). &colone; renders ≔ (U+2254, colon equals). They are different characters with different meanings.
HTML entities (&#8789;, &#x2255;, or &ecolon;) go directly in markup. The CSS escape \2255 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.

Explore More HTML Entities!

Discover 1500+ HTML character references — math operators, proportions, and more.

All HTML Entities →

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