#c0eb1f Color
Color Codes | |
---|---|
Hex Code | #c0eb1f |
RGB Code | rgb(192, 235, 31) |
HSL Code | hsl(73, 84%, 52%) |
#c0eb1f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 235, 31); }
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(73, 84%, 52%); }
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 #c0eb1f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 235, 31, 10%) | #c0eb1f1a | |
rgb(192, 235, 31, 20%) | #c0eb1f33 | |
rgb(192, 235, 31, 40%) | #c0eb1f4C | |
rgb(192, 235, 31, 60%) | #c0eb1f99 | |
rgb(192, 235, 31, 80%) | #c0eb1fCC | |
rgb(192, 235, 31, 100%) | #c0eb1fFF |
Saturated and desaturated colors of #c0eb1f
HSL Code | Preview |
---|---|
hsl(73, 10%, 52%) | |
hsl(73, 20%, 52%) | |
hsl(73, 40%, 52%) | |
hsl(73, 60%, 52%) | |
hsl(73, 80%, 52%) | |
hsl(73, 100%, 52%) |
#c0eb1f Color Usage In CSS
body { color: #c0eb1f; } p { color: rgb(192, 235, 31); } header { border-bottom:1px solid #c0eb1f; }