#0c17eb Color
Color Codes | |
---|---|
Hex Code | #0c17eb |
RGB Code | rgb(12, 23, 235) |
HSL Code | hsl(237, 90%, 48%) |
#0c17eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 23, 235); }
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(237, 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 #0c17eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 23, 235, 10%) | #0c17eb1a | |
rgb(12, 23, 235, 20%) | #0c17eb33 | |
rgb(12, 23, 235, 40%) | #0c17eb4C | |
rgb(12, 23, 235, 60%) | #0c17eb99 | |
rgb(12, 23, 235, 80%) | #0c17ebCC | |
rgb(12, 23, 235, 100%) | #0c17ebFF |
Saturated and desaturated colors of #0c17eb
HSL Code | Preview |
---|---|
hsl(237, 10%, 48%) | |
hsl(237, 20%, 48%) | |
hsl(237, 40%, 48%) | |
hsl(237, 60%, 48%) | |
hsl(237, 80%, 48%) | |
hsl(237, 100%, 48%) |
#0c17eb Color Usage In CSS
body { color: #0c17eb; } p { color: rgb(12, 23, 235); } header { border-bottom:1px solid #0c17eb; }