#ecb27b Color
Color Codes | |
---|---|
Hex Code | #ecb27b |
RGB Code | rgb(236, 178, 123) |
HSL Code | hsl(29, 75%, 70%) |
#ecb27b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 178, 123); }
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(29, 75%, 70%); }
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 #ecb27b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 178, 123, 10%) | #ecb27b1a | |
rgb(236, 178, 123, 20%) | #ecb27b33 | |
rgb(236, 178, 123, 40%) | #ecb27b4C | |
rgb(236, 178, 123, 60%) | #ecb27b99 | |
rgb(236, 178, 123, 80%) | #ecb27bCC | |
rgb(236, 178, 123, 100%) | #ecb27bFF |
Saturated and desaturated colors of #ecb27b
HSL Code | Preview |
---|---|
hsl(29, 10%, 70%) | |
hsl(29, 20%, 70%) | |
hsl(29, 40%, 70%) | |
hsl(29, 60%, 70%) | |
hsl(29, 80%, 70%) | |
hsl(29, 100%, 70%) |
#ecb27b Color Usage In CSS
body { color: #ecb27b; } p { color: rgb(236, 178, 123); } header { border-bottom:1px solid #ecb27b; }