#cec17f Color
Color Codes | |
---|---|
Hex Code | #cec17f |
RGB Code | rgb(206, 193, 127) |
HSL Code | hsl(50, 45%, 65%) |
#cec17f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 193, 127); }
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, 45%, 65%); }
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 #cec17f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 193, 127, 10%) | #cec17f1a | |
rgb(206, 193, 127, 20%) | #cec17f33 | |
rgb(206, 193, 127, 40%) | #cec17f4C | |
rgb(206, 193, 127, 60%) | #cec17f99 | |
rgb(206, 193, 127, 80%) | #cec17fCC | |
rgb(206, 193, 127, 100%) | #cec17fFF |
Saturated and desaturated colors of #cec17f
HSL Code | Preview |
---|---|
hsl(50, 10%, 65%) | |
hsl(50, 20%, 65%) | |
hsl(50, 40%, 65%) | |
hsl(50, 60%, 65%) | |
hsl(50, 80%, 65%) | |
hsl(50, 100%, 65%) |
#cec17f Color Usage In CSS
body { color: #cec17f; } p { color: rgb(206, 193, 127); } header { border-bottom:1px solid #cec17f; }