#0c86ad Color
Color Codes | |
---|---|
Hex Code | #0c86ad |
RGB Code | rgb(12, 134, 173) |
HSL Code | hsl(195, 87%, 36%) |
#0c86ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(12, 134, 173); }
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(195, 87%, 36%); }
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 #0c86ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(12, 134, 173, 10%) | #0c86ad1a | |
rgb(12, 134, 173, 20%) | #0c86ad33 | |
rgb(12, 134, 173, 40%) | #0c86ad4C | |
rgb(12, 134, 173, 60%) | #0c86ad99 | |
rgb(12, 134, 173, 80%) | #0c86adCC | |
rgb(12, 134, 173, 100%) | #0c86adFF |
Saturated and desaturated colors of #0c86ad
HSL Code | Preview |
---|---|
hsl(195, 10%, 36%) | |
hsl(195, 20%, 36%) | |
hsl(195, 40%, 36%) | |
hsl(195, 60%, 36%) | |
hsl(195, 80%, 36%) | |
hsl(195, 100%, 36%) |
#0c86ad Color Usage In CSS
body { color: #0c86ad; } p { color: rgb(12, 134, 173); } header { border-bottom:1px solid #0c86ad; }