#5d61cf Color
Color Codes | |
---|---|
Hex Code | #5d61cf |
RGB Code | rgb(93, 97, 207) |
HSL Code | hsl(238, 54%, 59%) |
#5d61cf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 97, 207); }
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(238, 54%, 59%); }
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 #5d61cf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 97, 207, 10%) | #5d61cf1a | |
rgb(93, 97, 207, 20%) | #5d61cf33 | |
rgb(93, 97, 207, 40%) | #5d61cf4C | |
rgb(93, 97, 207, 60%) | #5d61cf99 | |
rgb(93, 97, 207, 80%) | #5d61cfCC | |
rgb(93, 97, 207, 100%) | #5d61cfFF |
Saturated and desaturated colors of #5d61cf
HSL Code | Preview |
---|---|
hsl(238, 10%, 59%) | |
hsl(238, 20%, 59%) | |
hsl(238, 40%, 59%) | |
hsl(238, 60%, 59%) | |
hsl(238, 80%, 59%) | |
hsl(238, 100%, 59%) |
#5d61cf Color Usage In CSS
body { color: #5d61cf; } p { color: rgb(93, 97, 207); } header { border-bottom:1px solid #5d61cf; }