HTML Entity for Umbrella (☂)

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

What You'll Learn

How to display the Umbrella (☂) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2602 (UMBRELLA) in the Miscellaneous Symbols block (U+2600–U+26FF)—a weather symbol used for rain, forecasts, weather apps, and decorative UI elements.

Render it with ☂, ☂, or CSS escape \2602. There is no named HTML entity for this symbol. Compare ☁ (cloud, U+2601) or ☔ (umbrella with rain drops, U+2614) for related weather characters.

⚡ Quick Reference — Umbrella

Unicode U+2602

Miscellaneous Symbols block

Hex Code ☂

Hexadecimal reference

HTML Code ☂

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2602
Hex code       ☂
HTML code      ☂
Named entity   (none)
CSS code       \2602
Related        U+2601 = Cloud (☁); U+2614 = Umbrella with rain (☔)
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing ☂ using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2602";
  }
 </style>
</head>
<body>
<p>Umbrella (hex): &#x2602;</p>
<p>Umbrella (decimal): &#9730;</p>
<p id="point">Umbrella (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2602 is supported in modern browsers when rendered with a font that includes Miscellaneous Symbols:

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

👀 Live Preview

See the Umbrella (☂) in weather and UI contexts:

Large glyph
Forecast ☂ Rain expected today
Weather UI ☁ Cloudy ☂ Rainy
Icon ☂ Bring an umbrella
Numeric refs &#x2602; &#9730;

🧠 How It Works

1

Hexadecimal Code

&#x2602; uses the Unicode hexadecimal value 2602 to display the Umbrella. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
=

Same visual result

All three methods produce: . Unicode U+2602 in the Miscellaneous Symbols block (U+2600–U+26FF). No named HTML entity—use numeric codes in markup. Serve HTML as UTF-8.

Use Cases

The Umbrella (☂) is commonly used in:

🌤️ Weather websites

Forecast pages, meteorological content, and rain condition indicators.

📱 Weather apps

Mobile and web interfaces showing precipitation and rain status.

🎨 Decorative content

Graphic design, logos, and creative weather-themed projects.

💻 UI elements

Buttons, icons, and interactive elements with weather symbols.

📖 Travel & events

Rain advisories, outdoor event notices, and packing tips.

📚 Education

Weather tutorials and meteorology instructional content.

💡 Best Practices

Do

  • Use &#x2602; or &#9730; consistently in markup
  • Use fonts that support Miscellaneous Symbols (Segoe UI Symbol, Apple Symbols)
  • Add aria-label (e.g. “rain” or “umbrella”) in weather UI
  • Pair ☂ with visible text in forecasts and weather interfaces
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Expect a named entity—none exists for U+2602
  • Confuse ☂ (umbrella) with ☔ (umbrella with rain drops U+2614)
  • Use U+02602 or CSS \02602—the correct value is U+2602 and \2602
  • Put CSS escape \2602 in HTML text nodes
  • Rely on the symbol alone in accessibility-critical weather interfaces

Key Takeaways

1

Two HTML numeric references render ☂

&#x2602; &#9730;
2

For CSS stylesheets, use the escape in the content property

\2602
3

Unicode U+2602 — UMBRELLA

4

Miscellaneous Symbols block (U+2600–U+26FF)

5

Three methods, one glyph — no named HTML entity

❓ Frequently Asked Questions

Use &#x2602; (hex), &#9730; (decimal), or \2602 in CSS content. There is no named entity. All produce ☂.
U+2602 (UMBRELLA). Miscellaneous Symbols block (U+2600–U+26FF). Hex 2602, decimal 9730. A weather symbol used for rain, forecasts, and weather-related UI.
In weather-related websites, forecast apps, weather icons, decorative content, UI elements, and any content that needs rain or weather-related imagery.
HTML references (&#9730; or &#x2602;) go in markup. The CSS escape \2602 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Named entities cover common ASCII, Latin-1, and frequently used symbols. Many Miscellaneous Symbols characters including U+2602 have no named entity—use &#x2602; or &#9730; in HTML.

Explore More HTML Entities!

Discover 1500+ HTML character references — weather symbols, punctuation, math operators, 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