#0cf367 Color
Color Codes | |
---|---|
Hex Code | #0cf367 |
RGB Code | rgb(12, 243, 103) |
HSL Code | hsl(144, 91%, 50%) |
#0cf367 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 243, 103); }
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(144, 91%, 50%); }
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 #0cf367
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 243, 103, 10%) | #0cf3671a | |
rgb(12, 243, 103, 20%) | #0cf36733 | |
rgb(12, 243, 103, 40%) | #0cf3674C | |
rgb(12, 243, 103, 60%) | #0cf36799 | |
rgb(12, 243, 103, 80%) | #0cf367CC | |
rgb(12, 243, 103, 100%) | #0cf367FF |
Saturated and desaturated colors of #0cf367
HSL Code | Preview |
---|---|
hsl(144, 10%, 50%) | |
hsl(144, 20%, 50%) | |
hsl(144, 40%, 50%) | |
hsl(144, 60%, 50%) | |
hsl(144, 80%, 50%) | |
hsl(144, 100%, 50%) |
#0cf367 Color Usage In CSS
body { color: #0cf367; } p { color: rgb(12, 243, 103); } header { border-bottom:1px solid #0cf367; }