#554ebd Color
Color Codes | |
---|---|
Hex Code | #554ebd |
RGB Code | rgb(85, 78, 189) |
HSL Code | hsl(244, 46%, 52%) |
#554ebd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(85, 78, 189); }
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(244, 46%, 52%); }
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 #554ebd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(85, 78, 189, 10%) | #554ebd1a | |
rgb(85, 78, 189, 20%) | #554ebd33 | |
rgb(85, 78, 189, 40%) | #554ebd4C | |
rgb(85, 78, 189, 60%) | #554ebd99 | |
rgb(85, 78, 189, 80%) | #554ebdCC | |
rgb(85, 78, 189, 100%) | #554ebdFF |
Saturated and desaturated colors of #554ebd
HSL Code | Preview |
---|---|
hsl(244, 10%, 52%) | |
hsl(244, 20%, 52%) | |
hsl(244, 40%, 52%) | |
hsl(244, 60%, 52%) | |
hsl(244, 80%, 52%) | |
hsl(244, 100%, 52%) |
#554ebd Color Usage In CSS
body { color: #554ebd; } p { color: rgb(85, 78, 189); } header { border-bottom:1px solid #554ebd; }