#e6d41c Color
Color Codes | |
---|---|
Hex Code | #e6d41c |
RGB Code | rgb(230, 212, 28) |
HSL Code | hsl(55, 80%, 51%) |
#e6d41c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(230, 212, 28); }
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(55, 80%, 51%); }
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 #e6d41c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(230, 212, 28, 10%) | #e6d41c1a | |
rgb(230, 212, 28, 20%) | #e6d41c33 | |
rgb(230, 212, 28, 40%) | #e6d41c4C | |
rgb(230, 212, 28, 60%) | #e6d41c99 | |
rgb(230, 212, 28, 80%) | #e6d41cCC | |
rgb(230, 212, 28, 100%) | #e6d41cFF |
Saturated and desaturated colors of #e6d41c
HSL Code | Preview |
---|---|
hsl(55, 10%, 51%) | |
hsl(55, 20%, 51%) | |
hsl(55, 40%, 51%) | |
hsl(55, 60%, 51%) | |
hsl(55, 80%, 51%) | |
hsl(55, 100%, 51%) |
#e6d41c Color Usage In CSS
body { color: #e6d41c; } p { color: rgb(230, 212, 28); } header { border-bottom:1px solid #e6d41c; }