#d4e171 Color
Color Codes | |
---|---|
Hex Code | #d4e171 |
RGB Code | rgb(212, 225, 113) |
HSL Code | hsl(67, 65%, 66%) |
#d4e171 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 225, 113); }
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(67, 65%, 66%); }
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 #d4e171
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 225, 113, 10%) | #d4e1711a | |
rgb(212, 225, 113, 20%) | #d4e17133 | |
rgb(212, 225, 113, 40%) | #d4e1714C | |
rgb(212, 225, 113, 60%) | #d4e17199 | |
rgb(212, 225, 113, 80%) | #d4e171CC | |
rgb(212, 225, 113, 100%) | #d4e171FF |
Saturated and desaturated colors of #d4e171
HSL Code | Preview |
---|---|
hsl(67, 10%, 66%) | |
hsl(67, 20%, 66%) | |
hsl(67, 40%, 66%) | |
hsl(67, 60%, 66%) | |
hsl(67, 80%, 66%) | |
hsl(67, 100%, 66%) |
#d4e171 Color Usage In CSS
body { color: #d4e171; } p { color: rgb(212, 225, 113); } header { border-bottom:1px solid #d4e171; }