#234af5 Color
Color Codes | |
---|---|
Hex Code | #234af5 |
RGB Code | rgb(35, 74, 245) |
HSL Code | hsl(229, 91%, 55%) |
#234af5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(35, 74, 245); }
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, 91%, 55%); }
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 #234af5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(35, 74, 245, 10%) | #234af51a | |
rgb(35, 74, 245, 20%) | #234af533 | |
rgb(35, 74, 245, 40%) | #234af54C | |
rgb(35, 74, 245, 60%) | #234af599 | |
rgb(35, 74, 245, 80%) | #234af5CC | |
rgb(35, 74, 245, 100%) | #234af5FF |
Saturated and desaturated colors of #234af5
HSL Code | Preview |
---|---|
hsl(229, 10%, 55%) | |
hsl(229, 20%, 55%) | |
hsl(229, 40%, 55%) | |
hsl(229, 60%, 55%) | |
hsl(229, 80%, 55%) | |
hsl(229, 100%, 55%) |
#234af5 Color Usage In CSS
body { color: #234af5; } p { color: rgb(35, 74, 245); } header { border-bottom:1px solid #234af5; }