#0cf5ff Color
Color Codes | |
---|---|
Hex Code | #0cf5ff |
RGB Code | rgb(12, 245, 255) |
HSL Code | hsl(182, 100%, 52%) |
#0cf5ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 245, 255); }
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(182, 100%, 52%); }
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 #0cf5ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 245, 255, 10%) | #0cf5ff1a | |
rgb(12, 245, 255, 20%) | #0cf5ff33 | |
rgb(12, 245, 255, 40%) | #0cf5ff4C | |
rgb(12, 245, 255, 60%) | #0cf5ff99 | |
rgb(12, 245, 255, 80%) | #0cf5ffCC | |
rgb(12, 245, 255, 100%) | #0cf5ffFF |
Saturated and desaturated colors of #0cf5ff
HSL Code | Preview |
---|---|
hsl(182, 10%, 52%) | |
hsl(182, 20%, 52%) | |
hsl(182, 40%, 52%) | |
hsl(182, 60%, 52%) | |
hsl(182, 80%, 52%) | |
hsl(182, 100%, 52%) |
#0cf5ff Color Usage In CSS
body { color: #0cf5ff; } p { color: rgb(12, 245, 255); } header { border-bottom:1px solid #0cf5ff; }