#cfc128 Color
Color Codes | |
---|---|
Hex Code | #cfc128 |
RGB Code | rgb(207, 193, 40) |
HSL Code | hsl(55, 68%, 48%) |
#cfc128 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 193, 40); }
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, 68%, 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 #cfc128
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 193, 40, 10%) | #cfc1281a | |
rgb(207, 193, 40, 20%) | #cfc12833 | |
rgb(207, 193, 40, 40%) | #cfc1284C | |
rgb(207, 193, 40, 60%) | #cfc12899 | |
rgb(207, 193, 40, 80%) | #cfc128CC | |
rgb(207, 193, 40, 100%) | #cfc128FF |
Saturated and desaturated colors of #cfc128
HSL Code | Preview |
---|---|
hsl(55, 10%, 48%) | |
hsl(55, 20%, 48%) | |
hsl(55, 40%, 48%) | |
hsl(55, 60%, 48%) | |
hsl(55, 80%, 48%) | |
hsl(55, 100%, 48%) |
#cfc128 Color Usage In CSS
body { color: #cfc128; } p { color: rgb(207, 193, 40); } header { border-bottom:1px solid #cfc128; }