#c8cb30 Color
Color Codes | |
---|---|
Hex Code | #c8cb30 |
RGB Code | rgb(200, 203, 48) |
HSL Code | hsl(61, 62%, 49%) |
#c8cb30 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 203, 48); }
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(61, 62%, 49%); }
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 #c8cb30
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 203, 48, 10%) | #c8cb301a | |
rgb(200, 203, 48, 20%) | #c8cb3033 | |
rgb(200, 203, 48, 40%) | #c8cb304C | |
rgb(200, 203, 48, 60%) | #c8cb3099 | |
rgb(200, 203, 48, 80%) | #c8cb30CC | |
rgb(200, 203, 48, 100%) | #c8cb30FF |
Saturated and desaturated colors of #c8cb30
HSL Code | Preview |
---|---|
hsl(61, 10%, 49%) | |
hsl(61, 20%, 49%) | |
hsl(61, 40%, 49%) | |
hsl(61, 60%, 49%) | |
hsl(61, 80%, 49%) | |
hsl(61, 100%, 49%) |
#c8cb30 Color Usage In CSS
body { color: #c8cb30; } p { color: rgb(200, 203, 48); } header { border-bottom:1px solid #c8cb30; }