#c0e038 Color
Color Codes | |
---|---|
Hex Code | #c0e038 |
RGB Code | rgb(192, 224, 56) |
HSL Code | hsl(71, 73%, 55%) |
#c0e038 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 224, 56); }
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, 73%, 55%); }
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 #c0e038
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 224, 56, 10%) | #c0e0381a | |
rgb(192, 224, 56, 20%) | #c0e03833 | |
rgb(192, 224, 56, 40%) | #c0e0384C | |
rgb(192, 224, 56, 60%) | #c0e03899 | |
rgb(192, 224, 56, 80%) | #c0e038CC | |
rgb(192, 224, 56, 100%) | #c0e038FF |
Saturated and desaturated colors of #c0e038
HSL Code | Preview |
---|---|
hsl(71, 10%, 55%) | |
hsl(71, 20%, 55%) | |
hsl(71, 40%, 55%) | |
hsl(71, 60%, 55%) | |
hsl(71, 80%, 55%) | |
hsl(71, 100%, 55%) |
#c0e038 Color Usage In CSS
body { color: #c0e038; } p { color: rgb(192, 224, 56); } header { border-bottom:1px solid #c0e038; }