HTML Entity for Proportional (∷)

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

What You'll Learn

How to display the proportion symbol (∷) in HTML using various entity methods. This operator expresses a proportion between ratios—for example a:bc:d means “a is to b as c is to d.”

This character is part of the Mathematical Operators Unicode block and can be rendered with a hexadecimal reference, a decimal reference, the named entity ∷, or a CSS escape in the content property. Do not confuse ∷ with the punctuation colon : or with U+221D (∝, proportional to).

⚡ Quick Reference — Proportional (Proportion)

Unicode U+2237

Mathematical Operators block

Hex Code ∷

Hexadecimal reference

HTML Code ∷

Decimal reference

Named Entity ∷

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2237
Hex code       ∷
HTML code      ∷
Named entity   ∷
CSS code       \2237
Meaning        Proportion (as in a:b::c:d)
Related        U+221D = Proportional to (∝)
               U+003A = Colon punctuation (:)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing ∷ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2237";
  }
 </style>
</head>
<body>
<p>Ratio (hex): 2:3 &#x2237; 4:6</p>
<p>Ratio (decimal): 2:3 &#8759; 4:6</p>
<p>Ratio (named): 2:3 &Colon; 4:6</p>
<p>Ratio (CSS): 2:3 <span id="point"></span> 4:6</p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The proportion entity is universally supported in all modern browsers:

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

👀 Live Preview

See ∷ rendered live in different contexts:

Proportion 2:3 ∷ 4:6
Large glyph
Compared to Proportional to ∝  |  Colon :
Geometry a:b ∷ c:d (similar triangles)
Entity refs &#x2237; &#8759; &Colon; \2237

🧠 How It Works

1

Hexadecimal Code

&#x2237; uses the Unicode hexadecimal value 2237 to display the proportion symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Named Entity

&Colon; is the semantic named entity for proportion — note the capital C; it is not the punctuation colon.

HTML markup
=

Same visual result

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

Use Cases

The proportion symbol (∷) commonly appears in:

📐 Geometry

Similar triangles and ratio statements: a:b ∷ c:d.

📄 Academic Papers

Mathematics texts expressing proportional relationships between ratios.

🎓 Education

School math lessons on ratios, proportions, and cross-multiplication.

💻 Math Documentation

Online references and wikis on ratio and proportion notation.

📋 Unicode References

Character tables and Mathematical Operators guides.

📊 Data & Stats

Comparing scale factors and equivalent ratio pairs in reports.

♿ Accessibility

Pair ∷ with “is proportional to” or read as “as” in ratio context.

💡 Best Practices

Do

  • Use &Colon; for readable proportion markup
  • Distinguish ∷ from ∝ (proportional to) and from : (colon)
  • Pick one style (hex / decimal / named) per project
  • Use MathML or LaTeX for complex multi-line formulas when appropriate
  • Test rendering across browsers and math fonts

Don’t

  • Substitute a plain colon : when ∷ (&Colon;) is the intended operator
  • Confuse ∷ with ∝ (proportional to, &prop;)
  • Assume &colon; (lowercase) renders ∷—it does not
  • Use CSS escape \2237 inside HTML text nodes
  • Use HTML entities in JS (use \u2237 instead)

Key Takeaways

1

Three HTML references all render ∷

&#x2237; &#8759; &Colon;
2

For CSS stylesheets, use the escape in the content property

\2237
3

Unicode U+2237 belongs to the Mathematical Operators block (U+2200–U+22FF)

4

Named entity is &Colon; (capital C)—not the punctuation colon

❓ Frequently Asked Questions

Use &#x2237; (hex), &#8759; (decimal), &Colon; (named), or \2237 in CSS content. All produce ∷.
U+2237 (PROPORTION). Mathematical Operators block. Hex 2237, decimal 8759.
∷ (U+2237, &Colon;) is the proportion operator for ratio statements like a:b ∷ c:d. ∝ (U+221D, &prop;) is proportional to—a different symbol for direct proportionality.
&Colon; is the standard HTML named entity for U+2237 (PROPORTION). It is not the punctuation colon (:).
Yes. &Colon;, &#8759;, and &#x2237; are equivalent in modern browsers and all render ∷.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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