What is the HSL code for amber?
The CSS color amber in HSL format is hsl(41.7, 99.2%, 51.4%). Use this value directly in CSS, SVG, and most design tools.
How do I use amber in CSS?
To apply amber in CSS:
- Text color: color: hsl(41.7, 99.2%, 51.4%);
- Background: background-color: hsl(41.7, 99.2%, 51.4%);
- Border: border-color: hsl(41.7, 99.2%, 51.4%);
What are all the color format values for amber?
| Format | Value |
|---|---|
| HEX | #feb308 |
| RGB | rgb(254, 179, 8) |
| HSL | hsl(41.7, 99.2%, 51.4%) |
| CMYK | cmyk(0%, 29.5%, 96.9%, 0.4%) |
How do I convert amber to HSL?
Select amber from the color name list in our color converter. The HSL value — hsl(41.7, 99.2%, 51.4%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does amber belong to?
amber belongs to the orange color family. It is a medium, vivid color with HSL values: hue 41.7°, saturation 99.2%, lightness 51.4%.
How do I create lighter and darker shades of amber?
Lighter variant (lightness 66.4%): #feca54. Darker variant (lightness 36.4%): #b98101. 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.