#ccc78d Color
Color Codes | |
---|---|
Hex Code | #ccc78d |
RGB Code | rgb(204, 199, 141) |
HSL Code | hsl(55, 38%, 68%) |
#ccc78d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 199, 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(55, 38%, 68%); }
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 #ccc78d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 199, 141, 10%) | #ccc78d1a | |
rgb(204, 199, 141, 20%) | #ccc78d33 | |
rgb(204, 199, 141, 40%) | #ccc78d4C | |
rgb(204, 199, 141, 60%) | #ccc78d99 | |
rgb(204, 199, 141, 80%) | #ccc78dCC | |
rgb(204, 199, 141, 100%) | #ccc78dFF |
Saturated and desaturated colors of #ccc78d
HSL Code | Preview |
---|---|
hsl(55, 10%, 68%) | |
hsl(55, 20%, 68%) | |
hsl(55, 40%, 68%) | |
hsl(55, 60%, 68%) | |
hsl(55, 80%, 68%) | |
hsl(55, 100%, 68%) |
#ccc78d Color Usage In CSS
body { color: #ccc78d; } p { color: rgb(204, 199, 141); } header { border-bottom:1px solid #ccc78d; }