#2eaab6 Color
Color Codes | |
---|---|
Hex Code | #2eaab6 |
RGB Code | rgb(46, 170, 182) |
HSL Code | hsl(185, 60%, 45%) |
#2eaab6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(46, 170, 182); }
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(185, 60%, 45%); }
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 #2eaab6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(46, 170, 182, 10%) | #2eaab61a | |
rgb(46, 170, 182, 20%) | #2eaab633 | |
rgb(46, 170, 182, 40%) | #2eaab64C | |
rgb(46, 170, 182, 60%) | #2eaab699 | |
rgb(46, 170, 182, 80%) | #2eaab6CC | |
rgb(46, 170, 182, 100%) | #2eaab6FF |
Saturated and desaturated colors of #2eaab6
HSL Code | Preview |
---|---|
hsl(185, 10%, 45%) | |
hsl(185, 20%, 45%) | |
hsl(185, 40%, 45%) | |
hsl(185, 60%, 45%) | |
hsl(185, 80%, 45%) | |
hsl(185, 100%, 45%) |
#2eaab6 Color Usage In CSS
body { color: #2eaab6; } p { color: rgb(46, 170, 182); } header { border-bottom:1px solid #2eaab6; }