What is the HEX code for twilight?
The CSS color twilight in HEX format is #4e518b. Use this value directly in CSS, SVG, and most design tools.
How do I use twilight in CSS?
To apply twilight in CSS:
- Text color: color: #4e518b;
- Background: background-color: #4e518b;
- Border: border-color: #4e518b;
What are all the color format values for twilight?
| Format | Value |
|---|---|
| HEX | #4e518b |
| RGB | rgb(78, 81, 139) |
| HSL | hsl(237, 28.1%, 42.5%) |
| CMYK | cmyk(43.9%, 41.7%, 0%, 45.5%) |
How do I convert twilight to HEX?
Select twilight from the color name list in our color converter. The HEX value — #4e518b — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does twilight belong to?
twilight belongs to the blue color family. It is a medium, muted color with HSL values: hue 237°, saturation 28.1%, lightness 42.5%.
How do I create lighter and darker shades of twilight?
Lighter variant (lightness 57.5%): #7477b1. Darker variant (lightness 27.5%): #32345a. 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.