#34c8f0 Color
Color Codes | |
---|---|
Hex Code | #34c8f0 |
RGB Code | rgb(52, 200, 240) |
HSL Code | hsl(193, 86%, 57%) |
#34c8f0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(52, 200, 240); }
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(193, 86%, 57%); }
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 #34c8f0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(52, 200, 240, 10%) | #34c8f01a | |
rgb(52, 200, 240, 20%) | #34c8f033 | |
rgb(52, 200, 240, 40%) | #34c8f04C | |
rgb(52, 200, 240, 60%) | #34c8f099 | |
rgb(52, 200, 240, 80%) | #34c8f0CC | |
rgb(52, 200, 240, 100%) | #34c8f0FF |
Saturated and desaturated colors of #34c8f0
HSL Code | Preview |
---|---|
hsl(193, 10%, 57%) | |
hsl(193, 20%, 57%) | |
hsl(193, 40%, 57%) | |
hsl(193, 60%, 57%) | |
hsl(193, 80%, 57%) | |
hsl(193, 100%, 57%) |
#34c8f0 Color Usage In CSS
body { color: #34c8f0; } p { color: rgb(52, 200, 240); } header { border-bottom:1px solid #34c8f0; }