#0ce720 Color
Color Codes | |
---|---|
Hex Code | #0ce720 |
RGB Code | rgb(12, 231, 32) |
HSL Code | hsl(125, 90%, 48%) |
#0ce720 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 231, 32); }
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(125, 90%, 48%); }
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 #0ce720
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 231, 32, 10%) | #0ce7201a | |
rgb(12, 231, 32, 20%) | #0ce72033 | |
rgb(12, 231, 32, 40%) | #0ce7204C | |
rgb(12, 231, 32, 60%) | #0ce72099 | |
rgb(12, 231, 32, 80%) | #0ce720CC | |
rgb(12, 231, 32, 100%) | #0ce720FF |
Saturated and desaturated colors of #0ce720
HSL Code | Preview |
---|---|
hsl(125, 10%, 48%) | |
hsl(125, 20%, 48%) | |
hsl(125, 40%, 48%) | |
hsl(125, 60%, 48%) | |
hsl(125, 80%, 48%) | |
hsl(125, 100%, 48%) |
#0ce720 Color Usage In CSS
body { color: #0ce720; } p { color: rgb(12, 231, 32); } header { border-bottom:1px solid #0ce720; }