#d4b018 Color
Color Codes | |
---|---|
Hex Code | #d4b018 |
RGB Code | rgb(212, 176, 24) |
HSL Code | hsl(49, 80%, 46%) |
#d4b018 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 176, 24); }
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, 80%, 46%); }
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 #d4b018
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 176, 24, 10%) | #d4b0181a | |
rgb(212, 176, 24, 20%) | #d4b01833 | |
rgb(212, 176, 24, 40%) | #d4b0184C | |
rgb(212, 176, 24, 60%) | #d4b01899 | |
rgb(212, 176, 24, 80%) | #d4b018CC | |
rgb(212, 176, 24, 100%) | #d4b018FF |
Saturated and desaturated colors of #d4b018
HSL Code | Preview |
---|---|
hsl(49, 10%, 46%) | |
hsl(49, 20%, 46%) | |
hsl(49, 40%, 46%) | |
hsl(49, 60%, 46%) | |
hsl(49, 80%, 46%) | |
hsl(49, 100%, 46%) |
#d4b018 Color Usage In CSS
body { color: #d4b018; } p { color: rgb(212, 176, 24); } header { border-bottom:1px solid #d4b018; }