#0928e1 Color
Color Codes | |
---|---|
Hex Code | #0928e1 |
RGB Code | rgb(09, 40, 225) |
HSL Code | hsl(231, 92%, 46%) |
#0928e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(09, 40, 225); }
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(231, 92%, 46%); }
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 #0928e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(09, 40, 225, 10%) | #0928e11a | |
rgb(09, 40, 225, 20%) | #0928e133 | |
rgb(09, 40, 225, 40%) | #0928e14C | |
rgb(09, 40, 225, 60%) | #0928e199 | |
rgb(09, 40, 225, 80%) | #0928e1CC | |
rgb(09, 40, 225, 100%) | #0928e1FF |
Saturated and desaturated colors of #0928e1
HSL Code | Preview |
---|---|
hsl(231, 10%, 46%) | |
hsl(231, 20%, 46%) | |
hsl(231, 40%, 46%) | |
hsl(231, 60%, 46%) | |
hsl(231, 80%, 46%) | |
hsl(231, 100%, 46%) |
#0928e1 Color Usage In CSS
body { color: #0928e1; } p { color: rgb(09, 40, 225); } header { border-bottom:1px solid #0928e1; }