#d9dd52 Color
Color Codes | |
---|---|
Hex Code | #d9dd52 |
RGB Code | rgb(217, 221, 82) |
HSL Code | hsl(62, 67%, 59%) |
#d9dd52 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 221, 82); }
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(62, 67%, 59%); }
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 #d9dd52
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 221, 82, 10%) | #d9dd521a | |
rgb(217, 221, 82, 20%) | #d9dd5233 | |
rgb(217, 221, 82, 40%) | #d9dd524C | |
rgb(217, 221, 82, 60%) | #d9dd5299 | |
rgb(217, 221, 82, 80%) | #d9dd52CC | |
rgb(217, 221, 82, 100%) | #d9dd52FF |
Saturated and desaturated colors of #d9dd52
HSL Code | Preview |
---|---|
hsl(62, 10%, 59%) | |
hsl(62, 20%, 59%) | |
hsl(62, 40%, 59%) | |
hsl(62, 60%, 59%) | |
hsl(62, 80%, 59%) | |
hsl(62, 100%, 59%) |
#d9dd52 Color Usage In CSS
body { color: #d9dd52; } p { color: rgb(217, 221, 82); } header { border-bottom:1px solid #d9dd52; }