#1decaf Color
Color Codes | |
---|---|
Hex Code | #1decaf |
RGB Code | rgb(29, 236, 175) |
HSL Code | hsl(162, 84%, 52%) |
#1decaf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(29, 236, 175); }
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(162, 84%, 52%); }
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 #1decaf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(29, 236, 175, 10%) | #1decaf1a | |
rgb(29, 236, 175, 20%) | #1decaf33 | |
rgb(29, 236, 175, 40%) | #1decaf4C | |
rgb(29, 236, 175, 60%) | #1decaf99 | |
rgb(29, 236, 175, 80%) | #1decafCC | |
rgb(29, 236, 175, 100%) | #1decafFF |
Saturated and desaturated colors of #1decaf
HSL Code | Preview |
---|---|
hsl(162, 10%, 52%) | |
hsl(162, 20%, 52%) | |
hsl(162, 40%, 52%) | |
hsl(162, 60%, 52%) | |
hsl(162, 80%, 52%) | |
hsl(162, 100%, 52%) |
#1decaf Color Usage In CSS
body { color: #1decaf; } p { color: rgb(29, 236, 175); } header { border-bottom:1px solid #1decaf; }