What is the HSL code for denim?
The CSS color denim in HSL format is hsl(210.4, 40.7%, 39%). Use this value directly in CSS, SVG, and most design tools.
How do I use denim in CSS?
To apply denim in CSS:
- Text color: color: hsl(210.4, 40.7%, 39%);
- Background: background-color: hsl(210.4, 40.7%, 39%);
- Border: border-color: hsl(210.4, 40.7%, 39%);
What are all the color format values for denim?
| Format | Value |
|---|---|
| HEX | #3b638c |
| RGB | rgb(59, 99, 140) |
| HSL | hsl(210.4, 40.7%, 39%) |
| CMYK | cmyk(57.9%, 29.3%, 0%, 45.1%) |
How do I convert denim to HSL?
Select denim from the color name list in our color converter. The HSL value — hsl(210.4, 40.7%, 39%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does denim belong to?
denim belongs to the blue color family. It is a medium, moderately saturated color with HSL values: hue 210.4°, saturation 40.7%, lightness 39%.
How do I create lighter and darker shades of denim?
Lighter variant (lightness 54%): #5a89b9. Darker variant (lightness 24%): #243d56. 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.