#c5ef2f Color
Color Codes | |
---|---|
Hex Code | #c5ef2f |
RGB Code | rgb(197, 239, 47) |
HSL Code | hsl(73, 86%, 56%) |
#c5ef2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(197, 239, 47); }
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, 86%, 56%); }
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 #c5ef2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(197, 239, 47, 10%) | #c5ef2f1a | |
rgb(197, 239, 47, 20%) | #c5ef2f33 | |
rgb(197, 239, 47, 40%) | #c5ef2f4C | |
rgb(197, 239, 47, 60%) | #c5ef2f99 | |
rgb(197, 239, 47, 80%) | #c5ef2fCC | |
rgb(197, 239, 47, 100%) | #c5ef2fFF |
Saturated and desaturated colors of #c5ef2f
HSL Code | Preview |
---|---|
hsl(73, 10%, 56%) | |
hsl(73, 20%, 56%) | |
hsl(73, 40%, 56%) | |
hsl(73, 60%, 56%) | |
hsl(73, 80%, 56%) | |
hsl(73, 100%, 56%) |
#c5ef2f Color Usage In CSS
body { color: #c5ef2f; } p { color: rgb(197, 239, 47); } header { border-bottom:1px solid #c5ef2f; }