#c8da78 Color
Color Codes | |
---|---|
Hex Code | #c8da78 |
RGB Code | rgb(200, 218, 120) |
HSL Code | hsl(71, 57%, 66%) |
#c8da78 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 218, 120); }
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(71, 57%, 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 #c8da78
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 218, 120, 10%) | #c8da781a | |
rgb(200, 218, 120, 20%) | #c8da7833 | |
rgb(200, 218, 120, 40%) | #c8da784C | |
rgb(200, 218, 120, 60%) | #c8da7899 | |
rgb(200, 218, 120, 80%) | #c8da78CC | |
rgb(200, 218, 120, 100%) | #c8da78FF |
Saturated and desaturated colors of #c8da78
HSL Code | Preview |
---|---|
hsl(71, 10%, 66%) | |
hsl(71, 20%, 66%) | |
hsl(71, 40%, 66%) | |
hsl(71, 60%, 66%) | |
hsl(71, 80%, 66%) | |
hsl(71, 100%, 66%) |
#c8da78 Color Usage In CSS
body { color: #c8da78; } p { color: rgb(200, 218, 120); } header { border-bottom:1px solid #c8da78; }