#e6c30f Color
Color Codes | |
---|---|
Hex Code | #e6c30f |
RGB Code | rgb(230, 195, 15) |
HSL Code | hsl(50, 88%, 48%) |
#e6c30f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(230, 195, 15); }
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, 88%, 48%); }
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 #e6c30f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(230, 195, 15, 10%) | #e6c30f1a | |
rgb(230, 195, 15, 20%) | #e6c30f33 | |
rgb(230, 195, 15, 40%) | #e6c30f4C | |
rgb(230, 195, 15, 60%) | #e6c30f99 | |
rgb(230, 195, 15, 80%) | #e6c30fCC | |
rgb(230, 195, 15, 100%) | #e6c30fFF |
Saturated and desaturated colors of #e6c30f
HSL Code | Preview |
---|---|
hsl(50, 10%, 48%) | |
hsl(50, 20%, 48%) | |
hsl(50, 40%, 48%) | |
hsl(50, 60%, 48%) | |
hsl(50, 80%, 48%) | |
hsl(50, 100%, 48%) |
#e6c30f Color Usage In CSS
body { color: #e6c30f; } p { color: rgb(230, 195, 15); } header { border-bottom:1px solid #e6c30f; }