#defd26 Color
Color Codes | |
---|---|
Hex Code | #defd26 |
RGB Code | rgb(222, 253, 38) |
HSL Code | hsl(69, 98%, 57%) |
#defd26 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(222, 253, 38); }
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(69, 98%, 57%); }
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 #defd26
RGB Code | Hex Code | Preview |
---|---|---|
rgb(222, 253, 38, 10%) | #defd261a | |
rgb(222, 253, 38, 20%) | #defd2633 | |
rgb(222, 253, 38, 40%) | #defd264C | |
rgb(222, 253, 38, 60%) | #defd2699 | |
rgb(222, 253, 38, 80%) | #defd26CC | |
rgb(222, 253, 38, 100%) | #defd26FF |
Saturated and desaturated colors of #defd26
HSL Code | Preview |
---|---|
hsl(69, 10%, 57%) | |
hsl(69, 20%, 57%) | |
hsl(69, 40%, 57%) | |
hsl(69, 60%, 57%) | |
hsl(69, 80%, 57%) | |
hsl(69, 100%, 57%) |
#defd26 Color Usage In CSS
body { color: #defd26; } p { color: rgb(222, 253, 38); } header { border-bottom:1px solid #defd26; }