#d5d98f Color
Color Codes | |
---|---|
Hex Code | #d5d98f |
RGB Code | rgb(213, 217, 143) |
HSL Code | hsl(63, 49%, 71%) |
#d5d98f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(213, 217, 143); }
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(63, 49%, 71%); }
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 #d5d98f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(213, 217, 143, 10%) | #d5d98f1a | |
rgb(213, 217, 143, 20%) | #d5d98f33 | |
rgb(213, 217, 143, 40%) | #d5d98f4C | |
rgb(213, 217, 143, 60%) | #d5d98f99 | |
rgb(213, 217, 143, 80%) | #d5d98fCC | |
rgb(213, 217, 143, 100%) | #d5d98fFF |
Saturated and desaturated colors of #d5d98f
HSL Code | Preview |
---|---|
hsl(63, 10%, 71%) | |
hsl(63, 20%, 71%) | |
hsl(63, 40%, 71%) | |
hsl(63, 60%, 71%) | |
hsl(63, 80%, 71%) | |
hsl(63, 100%, 71%) |
#d5d98f Color Usage In CSS
body { color: #d5d98f; } p { color: rgb(213, 217, 143); } header { border-bottom:1px solid #d5d98f; }