#0b7255 Color
Color Codes | |
---|---|
Hex Code | #0b7255 |
RGB Code | rgb(11, 114, 85) |
HSL Code | hsl(163, 82%, 25%) |
#0b7255 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(11, 114, 85); }
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(163, 82%, 25%); }
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 #0b7255
RGB Code | Hex Code | Preview |
---|---|---|
rgb(11, 114, 85, 10%) | #0b72551a | |
rgb(11, 114, 85, 20%) | #0b725533 | |
rgb(11, 114, 85, 40%) | #0b72554C | |
rgb(11, 114, 85, 60%) | #0b725599 | |
rgb(11, 114, 85, 80%) | #0b7255CC | |
rgb(11, 114, 85, 100%) | #0b7255FF |
Saturated and desaturated colors of #0b7255
HSL Code | Preview |
---|---|
hsl(163, 10%, 25%) | |
hsl(163, 20%, 25%) | |
hsl(163, 40%, 25%) | |
hsl(163, 60%, 25%) | |
hsl(163, 80%, 25%) | |
hsl(163, 100%, 25%) |
#0b7255 Color Usage In CSS
body { color: #0b7255; } p { color: rgb(11, 114, 85); } header { border-bottom:1px solid #0b7255; }