#0ceb1d Color
Color Codes | |
---|---|
Hex Code | #0ceb1d |
RGB Code | rgb(12, 235, 29) |
HSL Code | hsl(125, 90%, 48%) |
#0ceb1d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 235, 29); }
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 #0ceb1d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 235, 29, 10%) | #0ceb1d1a | |
rgb(12, 235, 29, 20%) | #0ceb1d33 | |
rgb(12, 235, 29, 40%) | #0ceb1d4C | |
rgb(12, 235, 29, 60%) | #0ceb1d99 | |
rgb(12, 235, 29, 80%) | #0ceb1dCC | |
rgb(12, 235, 29, 100%) | #0ceb1dFF |
Saturated and desaturated colors of #0ceb1d
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%) |
#0ceb1d Color Usage In CSS
body { color: #0ceb1d; } p { color: rgb(12, 235, 29); } header { border-bottom:1px solid #0ceb1d; }