#561ebc Color
Color Codes | |
---|---|
Hex Code | #561ebc |
RGB Code | rgb(86, 30, 188) |
HSL Code | hsl(261, 72%, 43%) |
#561ebc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 30, 188); }
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(261, 72%, 43%); }
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 #561ebc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 30, 188, 10%) | #561ebc1a | |
rgb(86, 30, 188, 20%) | #561ebc33 | |
rgb(86, 30, 188, 40%) | #561ebc4C | |
rgb(86, 30, 188, 60%) | #561ebc99 | |
rgb(86, 30, 188, 80%) | #561ebcCC | |
rgb(86, 30, 188, 100%) | #561ebcFF |
Saturated and desaturated colors of #561ebc
HSL Code | Preview |
---|---|
hsl(261, 10%, 43%) | |
hsl(261, 20%, 43%) | |
hsl(261, 40%, 43%) | |
hsl(261, 60%, 43%) | |
hsl(261, 80%, 43%) | |
hsl(261, 100%, 43%) |
#561ebc Color Usage In CSS
body { color: #561ebc; } p { color: rgb(86, 30, 188); } header { border-bottom:1px solid #561ebc; }