#c4d60e Color
Color Codes | |
---|---|
Hex Code | #c4d60e |
RGB Code | rgb(196, 214, 14) |
HSL Code | hsl(65, 88%, 45%) |
#c4d60e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 214, 14); }
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(65, 88%, 45%); }
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 #c4d60e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 214, 14, 10%) | #c4d60e1a | |
rgb(196, 214, 14, 20%) | #c4d60e33 | |
rgb(196, 214, 14, 40%) | #c4d60e4C | |
rgb(196, 214, 14, 60%) | #c4d60e99 | |
rgb(196, 214, 14, 80%) | #c4d60eCC | |
rgb(196, 214, 14, 100%) | #c4d60eFF |
Saturated and desaturated colors of #c4d60e
HSL Code | Preview |
---|---|
hsl(65, 10%, 45%) | |
hsl(65, 20%, 45%) | |
hsl(65, 40%, 45%) | |
hsl(65, 60%, 45%) | |
hsl(65, 80%, 45%) | |
hsl(65, 100%, 45%) |
#c4d60e Color Usage In CSS
body { color: #c4d60e; } p { color: rgb(196, 214, 14); } header { border-bottom:1px solid #c4d60e; }