#0f24ef Color
Color Codes | |
---|---|
Hex Code | #0f24ef |
RGB Code | rgb(15, 36, 239) |
HSL Code | hsl(234, 88%, 50%) |
#0f24ef Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 36, 239); }
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, 88%, 50%); }
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 #0f24ef
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 36, 239, 10%) | #0f24ef1a | |
rgb(15, 36, 239, 20%) | #0f24ef33 | |
rgb(15, 36, 239, 40%) | #0f24ef4C | |
rgb(15, 36, 239, 60%) | #0f24ef99 | |
rgb(15, 36, 239, 80%) | #0f24efCC | |
rgb(15, 36, 239, 100%) | #0f24efFF |
Saturated and desaturated colors of #0f24ef
HSL Code | Preview |
---|---|
hsl(234, 10%, 50%) | |
hsl(234, 20%, 50%) | |
hsl(234, 40%, 50%) | |
hsl(234, 60%, 50%) | |
hsl(234, 80%, 50%) | |
hsl(234, 100%, 50%) |
#0f24ef Color Usage In CSS
body { color: #0f24ef; } p { color: rgb(15, 36, 239); } header { border-bottom:1px solid #0f24ef; }