#0021bc Color
Color Codes | |
---|---|
Hex Code | #0021bc |
RGB Code | rgb(00, 33, 188) |
HSL Code | hsl(229, 100%, 37%) |
#0021bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(00, 33, 188); }
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(229, 100%, 37%); }
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 #0021bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(00, 33, 188, 10%) | #0021bc1a | |
rgb(00, 33, 188, 20%) | #0021bc33 | |
rgb(00, 33, 188, 40%) | #0021bc4C | |
rgb(00, 33, 188, 60%) | #0021bc99 | |
rgb(00, 33, 188, 80%) | #0021bcCC | |
rgb(00, 33, 188, 100%) | #0021bcFF |
Saturated and desaturated colors of #0021bc
HSL Code | Preview |
---|---|
hsl(229, 10%, 37%) | |
hsl(229, 20%, 37%) | |
hsl(229, 40%, 37%) | |
hsl(229, 60%, 37%) | |
hsl(229, 80%, 37%) | |
hsl(229, 100%, 37%) |
#0021bc Color Usage In CSS
body { color: #0021bc; } p { color: rgb(00, 33, 188); } header { border-bottom:1px solid #0021bc; }