#cfa311 Color
Color Codes | |
---|---|
Hex Code | #cfa311 |
RGB Code | rgb(207, 163, 17) |
HSL Code | hsl(46, 85%, 44%) |
#cfa311 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 163, 17); }
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(46, 85%, 44%); }
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 #cfa311
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 163, 17, 10%) | #cfa3111a | |
rgb(207, 163, 17, 20%) | #cfa31133 | |
rgb(207, 163, 17, 40%) | #cfa3114C | |
rgb(207, 163, 17, 60%) | #cfa31199 | |
rgb(207, 163, 17, 80%) | #cfa311CC | |
rgb(207, 163, 17, 100%) | #cfa311FF |
Saturated and desaturated colors of #cfa311
HSL Code | Preview |
---|---|
hsl(46, 10%, 44%) | |
hsl(46, 20%, 44%) | |
hsl(46, 40%, 44%) | |
hsl(46, 60%, 44%) | |
hsl(46, 80%, 44%) | |
hsl(46, 100%, 44%) |
#cfa311 Color Usage In CSS
body { color: #cfa311; } p { color: rgb(207, 163, 17); } header { border-bottom:1px solid #cfa311; }