HTML Entity for White Sun Rays (☼)

What You'll Learn
How to display White Sun Rays (☼) in HTML and CSS. This character is U+263C in the Miscellaneous Symbols block (U+2600–U+26FF), approved in Unicode 1.1 (1993). Its Unicode name is WHITE SUN WITH RAYS—a white-outline sun with rays, used in weather, decorative, and astronomical contexts. The counterpart Black Sun With Rays (☀ U+2600) has a filled appearance.
There is no named HTML entity for U+263C. Use ☼ or ☼ in markup, or \263C in stylesheet content. Do not confuse ☼ with ☀ (black sun with rays) or emoji ☀️ (U+2600 with variation selector). Pair weather glyphs with visible text or aria-label (for example “Sunny” or “Clear weather”).
⚡ Quick Reference — White Sun Rays
U+263CMiscellaneous Symbols (U+2600–U+26FF)
☼Hexadecimal reference
☼Decimal reference
—None (use numeric refs)
Name Value
──────────── ──────────
Unicode U+263C
Hex code ☼
HTML code ☼
Named entity —
CSS code \263C
Meaning White sun with rays
Related U+2600 = ☀ (black sun with rays)
U+2609 = ☉ (sun, without rays)
Block Miscellaneous Symbols (U+2600–U+26FF)Complete HTML Example
This example shows U+263C using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\263C";
}
</style>
</head>
<body>
<p>White Sun Rays using Hexa Decimal: ☼</p>
<p>White Sun Rays using HTML Code: ☼</p>
<p id="point">White Sun Rays using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+263C is widely supported in modern browsers; sun glyph artwork varies by typeface:
👀 Live Preview
See the glyph at different sizes and beside related sun symbols (font-dependent):
🧠 How It Works
Hexadecimal Code
☼ references code point U+263C using hex digits 263C after the #x prefix.
Decimal HTML Code
☼ is the decimal equivalent (9788) for the same White Sun Rays character.
CSS Entity
\263C is the CSS escape for U+263C, 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+263C. Not the same as ☀ (black sun with rays).
Use Cases
White Sun Rays (☼) is commonly used for:
Weather forecasts, apps, and meteorological content for sunny conditions.
Web design, headers, footers, and decorative sections with visual interest.
Astronomy websites, space-related content, and solar system documentation.
Content that conveys positivity, brightness, or optimism.
Summer-themed content, vacation websites, and seasonal promotions.
Solar energy, environmental awareness, and sustainability content.
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+263C
- Pair ☼ with ☀ (black sun with rays) for outline vs filled sun variants
- Pair the symbol with clear context (e.g. weather labels or decorative captions) so meaning is clear
- Choose fonts that support the Miscellaneous Symbols block (U+2600–U+26FF)
- Use
\263Conly inside CSScontent, not inside HTML text nodes - Use
aria-hidden="true"when purely decorative; add text when meaning matters
Don’t
- Confuse U+263C with U+2600 (black sun with rays) 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
\263CU+263C is WHITE SUN WITH RAYS; black variant is U+2600
Miscellaneous Symbols block U+2600–U+26FF; no named HTML entity
Previous: White Spade Suit (♤) Next: White Telephone (☏)
❓ Frequently Asked Questions
☼ (hex), ☼ (decimal), or \263C in CSS content. There is no named entity; all valid methods render ☼.U+263C (hex 263C, decimal 9788). Miscellaneous Symbols (U+2600–U+26FF). Unicode name WHITE SUN WITH RAYS.\263C escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.☼, ☼, or \263C 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
