#ccc187 Color
Color Codes | |
---|---|
Hex Code | #ccc187 |
RGB Code | rgb(204, 193, 135) |
HSL Code | hsl(50, 40%, 66%) |
#ccc187 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 193, 135); }
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(50, 40%, 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 #ccc187
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 193, 135, 10%) | #ccc1871a | |
rgb(204, 193, 135, 20%) | #ccc18733 | |
rgb(204, 193, 135, 40%) | #ccc1874C | |
rgb(204, 193, 135, 60%) | #ccc18799 | |
rgb(204, 193, 135, 80%) | #ccc187CC | |
rgb(204, 193, 135, 100%) | #ccc187FF |
Saturated and desaturated colors of #ccc187
HSL Code | Preview |
---|---|
hsl(50, 10%, 66%) | |
hsl(50, 20%, 66%) | |
hsl(50, 40%, 66%) | |
hsl(50, 60%, 66%) | |
hsl(50, 80%, 66%) | |
hsl(50, 100%, 66%) |
#ccc187 Color Usage In CSS
body { color: #ccc187; } p { color: rgb(204, 193, 135); } header { border-bottom:1px solid #ccc187; }