#dddf7e Color
Color Codes | |
---|---|
Hex Code | #dddf7e |
RGB Code | rgb(221, 223, 126) |
HSL Code | hsl(61, 60%, 68%) |
#dddf7e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 223, 126); }
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, 60%, 68%); }
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 #dddf7e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 223, 126, 10%) | #dddf7e1a | |
rgb(221, 223, 126, 20%) | #dddf7e33 | |
rgb(221, 223, 126, 40%) | #dddf7e4C | |
rgb(221, 223, 126, 60%) | #dddf7e99 | |
rgb(221, 223, 126, 80%) | #dddf7eCC | |
rgb(221, 223, 126, 100%) | #dddf7eFF |
Saturated and desaturated colors of #dddf7e
HSL Code | Preview |
---|---|
hsl(61, 10%, 68%) | |
hsl(61, 20%, 68%) | |
hsl(61, 40%, 68%) | |
hsl(61, 60%, 68%) | |
hsl(61, 80%, 68%) | |
hsl(61, 100%, 68%) |
#dddf7e Color Usage In CSS
body { color: #dddf7e; } p { color: rgb(221, 223, 126); } header { border-bottom:1px solid #dddf7e; }