What is the HSL code for lavender?
The CSS color lavender in HSL format is hsl(240, 66.7%, 94.1%). Use this value directly in CSS, SVG, and most design tools.
How do I use lavender in CSS?
To apply lavender in CSS:
- Text color: color: hsl(240, 66.7%, 94.1%);
- Background: background-color: hsl(240, 66.7%, 94.1%);
- Border: border-color: hsl(240, 66.7%, 94.1%);
What are all the color format values for lavender?
| Format | Value |
|---|---|
| HEX | #e6e6fa |
| RGB | rgb(230, 230, 250) |
| HSL | hsl(240, 66.7%, 94.1%) |
| CMYK | cmyk(8%, 8%, 0%, 2%) |
How do I convert lavender to HSL?
Select lavender from the color name list in our color converter. The HSL value — hsl(240, 66.7%, 94.1%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does lavender belong to?
lavender belongs to the near-white color family. It is a light, moderately saturated color with HSL values: hue 240°, saturation 66.7%, lightness 94.1%.
How do I create lighter and darker shades of lavender?
Lighter variant (lightness 95%): #eaeafb. Darker variant (lightness 79.1%): #a6a6ed. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HSL used for?
HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.