Color: #28204C
#28204C Color Information
#28204C is a dark color. The closest websafe version is #28204C. A complement of this color would be #434C20, perceived brightness is 0.15, and the grayscale version is #363636.
In the HSL color space, this color has a hue angle of 251°,a saturation of 41%, and a lightness of 21%.The HSV representation shows a hue of 251°, a saturation of 100%, and a value of 100%.
In a RGB color space, #28204C is composed of 16% red, 13% green and 30% blue. Whereas in a CMYK color space, it is composed of 47% cyan, 58% magenta, 0% yellow and 70% black.
In the Yxy color space, this color is represented as Y: 1.95, x: 0.2571, and y: 0.1990.
Color Code #28204C
Shades of Color #28204C
Shades are created by darkening the original color #28204C in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #28204C
Tints are created by lightening the original color #28204C in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #28204C Color Code
In the HSL color space, this color has a hue angle of 251°, a saturation of 41%, and a lightness of 21%. The HSV representation shows a hue of 251°, a saturation of 58%, and a value of 30%.
- HEX: #28204C
- RGB: rgb(40, 32, 76)
- HSL: hsl(251, 41%, 21%)
- HSV: hsv(251, 58%, 30%)
- CMYK: 47.00% cyan, 58.00% magenta, 0.00% yellow, 70.00% black
- XYZ: 2.52, 1.95, 5.33
- Yxy: 1.95, 0.2571, 0.1990
- Hunter Lab: 15.20, 13.81, -26.46
- CIE-Lab: 15.20, 13.81, -26.46
In the XYZ color space, this color is represented as X: 2.52, Y: 1.95, Z: 5.33. The Yxy representation further refines this as Y: 1.95, x: 0.2571, and y: 0.1990.
In the Hunter Lab color space, this color is represented as L: 15.20, a: 13.81, and b: -26.46. Similarly, in the CIE-Lab color space, it is represented as L: 15.20, a: 13.81, and b: -26.46.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #28204C
Triadic colors are three colors evenly spaced around the color wheel, including #28204C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #28204C
Monochromatic colors are variations of #28204C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #28204C
The complementary color of #28204C is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #28204C
/* Using HEX */ body { background-color: #28204c; }
/* Using RGB */ body { background-color: rgb(40, 32, 76); }
/* Using RGB with opacity */ body { background-color: rgba(40, 32, 76, 0.5); }
/* Using HSL */ body { background-color: hsl(251, 41%, 21%); }
/* Text color */ p { color: #28204c; }
/* Box shadow */ div { box-shadow: 4px 4px #28204c; }
HTML Examples of #28204C
<!-- Using HEX --> <div style="background-color: #28204c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(40, 32, 76); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(40, 32, 76, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(251, 41%, 21%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #28204c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #28204c; width: 100px; height: 100px;"></div>
Related Colors of #28204C
These colors are similar to #28204C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.