#dcf58d Color
Color Codes | |
---|---|
Hex Code | #dcf58d |
RGB Code | rgb(220, 245, 141) |
HSL Code | hsl(74, 84%, 76%) |
#dcf58d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 245, 141); }
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(74, 84%, 76%); }
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 #dcf58d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 245, 141, 10%) | #dcf58d1a | |
rgb(220, 245, 141, 20%) | #dcf58d33 | |
rgb(220, 245, 141, 40%) | #dcf58d4C | |
rgb(220, 245, 141, 60%) | #dcf58d99 | |
rgb(220, 245, 141, 80%) | #dcf58dCC | |
rgb(220, 245, 141, 100%) | #dcf58dFF |
Saturated and desaturated colors of #dcf58d
HSL Code | Preview |
---|---|
hsl(74, 10%, 76%) | |
hsl(74, 20%, 76%) | |
hsl(74, 40%, 76%) | |
hsl(74, 60%, 76%) | |
hsl(74, 80%, 76%) | |
hsl(74, 100%, 76%) |
#dcf58d Color Usage In CSS
body { color: #dcf58d; } p { color: rgb(220, 245, 141); } header { border-bottom:1px solid #dcf58d; }