#c3d052 Color
Color Codes | |
---|---|
Hex Code | #c3d052 |
RGB Code | rgb(195, 208, 82) |
HSL Code | hsl(66, 57%, 57%) |
#c3d052 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 208, 82); }
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(66, 57%, 57%); }
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 #c3d052
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 208, 82, 10%) | #c3d0521a | |
rgb(195, 208, 82, 20%) | #c3d05233 | |
rgb(195, 208, 82, 40%) | #c3d0524C | |
rgb(195, 208, 82, 60%) | #c3d05299 | |
rgb(195, 208, 82, 80%) | #c3d052CC | |
rgb(195, 208, 82, 100%) | #c3d052FF |
Saturated and desaturated colors of #c3d052
HSL Code | Preview |
---|---|
hsl(66, 10%, 57%) | |
hsl(66, 20%, 57%) | |
hsl(66, 40%, 57%) | |
hsl(66, 60%, 57%) | |
hsl(66, 80%, 57%) | |
hsl(66, 100%, 57%) |
#c3d052 Color Usage In CSS
body { color: #c3d052; } p { color: rgb(195, 208, 82); } header { border-bottom:1px solid #c3d052; }