What is the HEX code for royal?
The CSS color royal in HEX format is #0c1793. Use this value directly in CSS, SVG, and most design tools.
How do I use royal in CSS?
To apply royal in CSS:
- Text color: color: #0c1793;
- Background: background-color: #0c1793;
- Border: border-color: #0c1793;
What are all the color format values for royal?
| Format | Value |
|---|---|
| HEX | #0c1793 |
| RGB | rgb(12, 23, 147) |
| HSL | hsl(235.1, 84.9%, 31.2%) |
| CMYK | cmyk(91.8%, 84.4%, 0%, 42.4%) |
How do I convert royal to HEX?
Select royal from the color name list in our color converter. The HEX value — #0c1793 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does royal belong to?
royal belongs to the blue color family. It is a medium, vivid color with HSL values: hue 235.1°, saturation 84.9%, lightness 31.2%.
How do I create lighter and darker shades of royal?
Lighter variant (lightness 46.2%): #1222da. Darker variant (lightness 16.2%): #060c4c. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.