#e7ca3f Color
Color Codes | |
---|---|
Hex Code | #e7ca3f |
RGB Code | rgb(231, 202, 63) |
HSL Code | hsl(50, 78%, 58%) |
#e7ca3f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 202, 63); }
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(50, 78%, 58%); }
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 #e7ca3f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 202, 63, 10%) | #e7ca3f1a | |
rgb(231, 202, 63, 20%) | #e7ca3f33 | |
rgb(231, 202, 63, 40%) | #e7ca3f4C | |
rgb(231, 202, 63, 60%) | #e7ca3f99 | |
rgb(231, 202, 63, 80%) | #e7ca3fCC | |
rgb(231, 202, 63, 100%) | #e7ca3fFF |
Saturated and desaturated colors of #e7ca3f
HSL Code | Preview |
---|---|
hsl(50, 10%, 58%) | |
hsl(50, 20%, 58%) | |
hsl(50, 40%, 58%) | |
hsl(50, 60%, 58%) | |
hsl(50, 80%, 58%) | |
hsl(50, 100%, 58%) |
#e7ca3f Color Usage In CSS
body { color: #e7ca3f; } p { color: rgb(231, 202, 63); } header { border-bottom:1px solid #e7ca3f; }