#d9db38 Color
Color Codes | |
---|---|
Hex Code | #d9db38 |
RGB Code | rgb(217, 219, 56) |
HSL Code | hsl(61, 69%, 54%) |
#d9db38 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 219, 56); }
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(61, 69%, 54%); }
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 #d9db38
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 219, 56, 10%) | #d9db381a | |
rgb(217, 219, 56, 20%) | #d9db3833 | |
rgb(217, 219, 56, 40%) | #d9db384C | |
rgb(217, 219, 56, 60%) | #d9db3899 | |
rgb(217, 219, 56, 80%) | #d9db38CC | |
rgb(217, 219, 56, 100%) | #d9db38FF |
Saturated and desaturated colors of #d9db38
HSL Code | Preview |
---|---|
hsl(61, 10%, 54%) | |
hsl(61, 20%, 54%) | |
hsl(61, 40%, 54%) | |
hsl(61, 60%, 54%) | |
hsl(61, 80%, 54%) | |
hsl(61, 100%, 54%) |
#d9db38 Color Usage In CSS
body { color: #d9db38; } p { color: rgb(217, 219, 56); } header { border-bottom:1px solid #d9db38; }