#081fea Color
Color Codes | |
---|---|
Hex Code | #081fea |
RGB Code | rgb(08, 31, 234) |
HSL Code | hsl(234, 93%, 47%) |
#081fea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(08, 31, 234); }
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(234, 93%, 47%); }
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 #081fea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(08, 31, 234, 10%) | #081fea1a | |
rgb(08, 31, 234, 20%) | #081fea33 | |
rgb(08, 31, 234, 40%) | #081fea4C | |
rgb(08, 31, 234, 60%) | #081fea99 | |
rgb(08, 31, 234, 80%) | #081feaCC | |
rgb(08, 31, 234, 100%) | #081feaFF |
Saturated and desaturated colors of #081fea
HSL Code | Preview |
---|---|
hsl(234, 10%, 47%) | |
hsl(234, 20%, 47%) | |
hsl(234, 40%, 47%) | |
hsl(234, 60%, 47%) | |
hsl(234, 80%, 47%) | |
hsl(234, 100%, 47%) |
#081fea Color Usage In CSS
body { color: #081fea; } p { color: rgb(08, 31, 234); } header { border-bottom:1px solid #081fea; }