#54b0c0 Color
Color Codes | |
---|---|
Hex Code | #54b0c0 |
RGB Code | rgb(84, 176, 192) |
HSL Code | hsl(189, 46%, 54%) |
#54b0c0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 176, 192); }
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(189, 46%, 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 #54b0c0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 176, 192, 10%) | #54b0c01a | |
rgb(84, 176, 192, 20%) | #54b0c033 | |
rgb(84, 176, 192, 40%) | #54b0c04C | |
rgb(84, 176, 192, 60%) | #54b0c099 | |
rgb(84, 176, 192, 80%) | #54b0c0CC | |
rgb(84, 176, 192, 100%) | #54b0c0FF |
Saturated and desaturated colors of #54b0c0
HSL Code | Preview |
---|---|
hsl(189, 10%, 54%) | |
hsl(189, 20%, 54%) | |
hsl(189, 40%, 54%) | |
hsl(189, 60%, 54%) | |
hsl(189, 80%, 54%) | |
hsl(189, 100%, 54%) |
#54b0c0 Color Usage In CSS
body { color: #54b0c0; } p { color: rgb(84, 176, 192); } header { border-bottom:1px solid #54b0c0; }