#021b23 Color
Color Codes | |
---|---|
Hex Code | #021b23 |
RGB Code | rgb(02, 27, 35) |
HSL Code | hsl(195, 89%, 7%) |
#021b23 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(02, 27, 35); }
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, 89%, 7%); }
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 #021b23
RGB Code | Hex Code | Preview |
---|---|---|
rgb(02, 27, 35, 10%) | #021b231a | |
rgb(02, 27, 35, 20%) | #021b2333 | |
rgb(02, 27, 35, 40%) | #021b234C | |
rgb(02, 27, 35, 60%) | #021b2399 | |
rgb(02, 27, 35, 80%) | #021b23CC | |
rgb(02, 27, 35, 100%) | #021b23FF |
Saturated and desaturated colors of #021b23
HSL Code | Preview |
---|---|
hsl(195, 10%, 7%) | |
hsl(195, 20%, 7%) | |
hsl(195, 40%, 7%) | |
hsl(195, 60%, 7%) | |
hsl(195, 80%, 7%) | |
hsl(195, 100%, 7%) |
#021b23 Color Usage In CSS
body { color: #021b23; } p { color: rgb(02, 27, 35); } header { border-bottom:1px solid #021b23; }