HTML Entity for Black Sun Rays (☀)

What You'll Learn
How to display Black Sun Rays (☀) in HTML and CSS. This character is U+2600 in the Miscellaneous Symbols block (U+2600–U+26FF), approved in Unicode 1.1 (1993). Its Unicode name is BLACK SUN WITH RAYS—also used for clear weather or sunny themes. The related symbol Sun (☉ U+2609) is a sun disc without rays, used in astronomy and astrology.
There is no named HTML entity for U+2600. Use ☀ or ☀ in markup, or \2600 in stylesheet content. You can append Variation Selector-16 (U+FE0F) for colorful emoji display (☀️) in supporting contexts. Pair weather glyphs with visible text or aria-label (for example “Sunny” or “Clear weather”).
⚡ Quick Reference — Black Sun Rays
U+2600Miscellaneous Symbols (U+2600–U+26FF)
☀Hexadecimal reference
☀Decimal reference
—None (use numeric refs)
Name Value
──────────── ──────────
Unicode U+2600
Hex code ☀
HTML code ☀
Named entity —
CSS code \2600Complete HTML Example
This example shows U+2600 using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2600";
}
</style>
</head>
<body>
<p>Black Sun Rays using Hexa Decimal: ☀</p>
<p>Black Sun Rays using HTML Code: ☀</p>
<p id="point">Black Sun Rays using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+2600 is widely supported in modern browsers; sun glyph artwork varies by typeface:
👀 Live Preview
See the glyph at different sizes and beside the sun-without-rays symbol (font-dependent):
🧠 How It Works
Hexadecimal Code
☀ references code point U+2600 using hex digits 2600 after the #x prefix.
Decimal HTML Code
☀ is the decimal equivalent (9728) for the same Black Sun Rays character.
CSS Entity
\2600 is the CSS escape for U+2600, used in the content property of ::before or ::after.
Same visual result
Hex, decimal, and CSS escapes all produce ☀. There is no named HTML entity for U+2600.
Use Cases
The Black Sun Rays (☀) is commonly used for:
Weather apps, forecasts, clear-sky indicators, and sunny-day displays.
Summer content, vacation sites, outdoor activities, and bright design.
Travel, tourism, and nature layouts needing sun or daylight icons.
Time-of-day displays, schedule apps, and brightness cues.
Decorative headers, nature themes, and design elements.
Posts about good weather, happy mood, or sunny day vibes.
Pair ☀ with text or aria-label (e.g. “Sunny” or “Clear weather”).
💡 Best Practices
Do
- Use hex or decimal consistently—there is no named entity for U+2600
- Pair ☀ with ☉ (sun without rays) or cloud/rain symbols for weather icon sets
- Append
U+FE0F(️) when you want emoji-style ☀️ where supported - Choose fonts that support the Miscellaneous Symbols block (U+2600–U+26FF)
- Use
\2600only inside CSScontent, not inside HTML text nodes - Use
aria-hidden="true"when purely decorative; add text when meaning matters
Don’t
- Confuse U+2600 with U+2609 (sun disc) or emoji ☀️ (may use different sequences)
- Rely on ☀ alone to communicate critical weather or status information
- Assume every font renders sun symbols crisply at small sizes
- Use weather glyphs as the only cue without visible text or labels
- Mix CSS escapes into HTML text nodes (use numeric refs in markup)
Key Takeaways
Two numeric references render the same glyph
☀ ☀CSS content escape
\2600U+2600 is BLACK SUN WITH RAYS; related Sun symbol U+2609
Miscellaneous Symbols block U+2600–U+26FF; no named HTML entity
Pair weather glyphs with text or ARIA when meaning must be clear
❓ Frequently Asked Questions
☀ (hex), ☀ (decimal), or \2600 in CSS content. There is no named entity; all valid methods render ☀.U+2600 (hex 2600, decimal 9728). Miscellaneous Symbols (U+2600–U+26FF). Unicode name BLACK SUN WITH RAYS.\2600 escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.☀, ☀, or \2600 in CSS depending on whether you are authoring markup or styles.Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
