Colon Equals (≔) is the Unicode character at U+2254 in the Mathematical Operators block (official name: COLON EQUALS). It is a single glyph for a colon-then-equals relation, often used for definition or assignment in math notation.
Remember
Character ≔
Unicode U+2254
Hex entity ≔
Decimal ≔
Named entity ≔ / ≔ / ≔
CSS escape \2254
All of these produce the same glyph: ≔. Prefer ≔ or a typed ≔ in hand-written HTML; use numeric forms when generating markup.
With entitiesNamed: ≔ | Hex: ≔ | Decimal: ≔
Code
Complete HTML Example
One page that shows Colon Equals with the named entity, hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.
Named + Hex + Decimal + CSS + Typed
Five ways to produce ≔ in a single document.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Colon Equals (≔) in HTML</title>
<style>
#point::after {
content: "\2254";
}
</style>
</head>
<body>
<p>Colon Equals using Named Entity: ≔</p>
<p>Colon Equals using Hex Code: ≔</p>
<p>Colon Equals using HTML Code: ≔</p>
<p id="point">Colon Equals using CSS Entity: </p>
<p>Typed directly: ≔</p>
</body>
</html>
Use ≔ (hex), ≔ (decimal), ≔ / ≔ / ≔ (named), or the CSS escape \2254 in the content property. All render ≔. You can also paste ≔ directly when your file is UTF-8.
U+2254 (hex 2254, decimal 8788). Unicode names it COLON EQUALS. It belongs to the Mathematical Operators block.
Yes. ≔, ≔, and ≔ are HTML5 named references for ≔. Numeric forms ≔ and ≔ also work.
Use it in math or logic pages for an assignment / definition-style relation. In programming tutorials, typing := as two characters is often clearer than the single Unicode glyph.
HTML entities (≔, ≔, or ≔) go in markup. The CSS escape \2254 goes in stylesheet strings (usually content on ::before/::after).
≔ (U+2254) is colon-then-equals as one character. ≕ (U+2255 / ≕) is equals-then-colon. := is two ASCII characters (: and =), not U+2254.
🤔
Did you know?
Colon equals is Unicode U+2254 (decimal 8788) — official name COLON EQUALS in the Mathematical Operators block. HTML named references are ≔, ≔, and ≔. It is not equals colon ≕ (U+2255 / ≕) and not the two ASCII characters :=.