#5f80fe Color
Color Codes | |
---|---|
Hex Code | #5f80fe |
RGB Code | rgb(95, 128, 254) |
HSL Code | hsl(228, 99%, 68%) |
#5f80fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(95, 128, 254); }
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(228, 99%, 68%); }
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 #5f80fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(95, 128, 254, 10%) | #5f80fe1a | |
rgb(95, 128, 254, 20%) | #5f80fe33 | |
rgb(95, 128, 254, 40%) | #5f80fe4C | |
rgb(95, 128, 254, 60%) | #5f80fe99 | |
rgb(95, 128, 254, 80%) | #5f80feCC | |
rgb(95, 128, 254, 100%) | #5f80feFF |
Saturated and desaturated colors of #5f80fe
HSL Code | Preview |
---|---|
hsl(228, 10%, 68%) | |
hsl(228, 20%, 68%) | |
hsl(228, 40%, 68%) | |
hsl(228, 60%, 68%) | |
hsl(228, 80%, 68%) | |
hsl(228, 100%, 68%) |
#5f80fe Color Usage In CSS
body { color: #5f80fe; } p { color: rgb(95, 128, 254); } header { border-bottom:1px solid #5f80fe; }