What is the RGB code for amber?
The CSS color amber in RGB format is rgb(254, 179, 8). 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: rgb(254, 179, 8);
- Background: background-color: rgb(254, 179, 8);
- Border: border-color: rgb(254, 179, 8);
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 RGB?
Select amber from the color name list in our color converter. The RGB value — rgb(254, 179, 8) — 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 RGB used for?
RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.