#224ff0 Color
Color Codes | |
---|---|
Hex Code | #224ff0 |
RGB Code | rgb(34, 79, 240) |
HSL Code | hsl(227, 87%, 54%) |
#224ff0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(34, 79, 240); }
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(227, 87%, 54%); }
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 #224ff0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(34, 79, 240, 10%) | #224ff01a | |
rgb(34, 79, 240, 20%) | #224ff033 | |
rgb(34, 79, 240, 40%) | #224ff04C | |
rgb(34, 79, 240, 60%) | #224ff099 | |
rgb(34, 79, 240, 80%) | #224ff0CC | |
rgb(34, 79, 240, 100%) | #224ff0FF |
Saturated and desaturated colors of #224ff0
HSL Code | Preview |
---|---|
hsl(227, 10%, 54%) | |
hsl(227, 20%, 54%) | |
hsl(227, 40%, 54%) | |
hsl(227, 60%, 54%) | |
hsl(227, 80%, 54%) | |
hsl(227, 100%, 54%) |
#224ff0 Color Usage In CSS
body { color: #224ff0; } p { color: rgb(34, 79, 240); } header { border-bottom:1px solid #224ff0; }