#d4b323 Color
Color Codes | |
---|---|
Hex Code | #d4b323 |
RGB Code | rgb(212, 179, 35) |
HSL Code | hsl(49, 72%, 48%) |
#d4b323 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 179, 35); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(49, 72%, 48%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #d4b323
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 179, 35, 10%) | #d4b3231a | |
rgb(212, 179, 35, 20%) | #d4b32333 | |
rgb(212, 179, 35, 40%) | #d4b3234C | |
rgb(212, 179, 35, 60%) | #d4b32399 | |
rgb(212, 179, 35, 80%) | #d4b323CC | |
rgb(212, 179, 35, 100%) | #d4b323FF |
Saturated and desaturated colors of #d4b323
HSL Code | Preview |
---|---|
hsl(49, 10%, 48%) | |
hsl(49, 20%, 48%) | |
hsl(49, 40%, 48%) | |
hsl(49, 60%, 48%) | |
hsl(49, 80%, 48%) | |
hsl(49, 100%, 48%) |
#d4b323 Color Usage In CSS
body { color: #d4b323; } p { color: rgb(212, 179, 35); } header { border-bottom:1px solid #d4b323; }